SenseNet.Messaging.NotificationConfig.IsNotificationAllowedForContent C# (CSharp) Method

IsNotificationAllowedForContent() public method

Returns false if notification email should not be sent for current context. The default implementation only returns false when the notification would be about this config.
public IsNotificationAllowedForContent ( Node context ) : bool
context Node
return bool
        public virtual bool IsNotificationAllowedForContent(Node context)
        {
            return context.Id != this.Id;
        }