C# Class SenseNet.Messaging.NotificationConfig

Inheritance: SenseNet.ContentRepository.GenericContent
Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

Свойство Type Description
CONFIGFOLDERNAME string
NOTIFICATIONCONFIGCONTENTNAME string
NOTIFICATIONCONFIGTYPENAME string

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetBody ( Node context ) : string

Returns the subject for the emails controlled by this config. {FieldName} entities are replaced with referenced Field value.

GetProperty ( string name ) : object
GetSubject ( Node context ) : string

Returns the subject for the emails controlled by this config. {FieldName} entities are replaced with referenced Field value.

IsNotificationAllowedForContent ( Node context ) : bool

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.

NotificationConfig ( Node parent ) : System
NotificationConfig ( Node parent, string nodeTypeName ) : System
SetProperty ( string name, object value ) : void

Méthodes protégées

Méthode Description
NotificationConfig ( NodeToken nt ) : System
ReplacePropertyValues ( Node context, string text ) : string

Method Details

GetBody() public méthode

Returns the subject for the emails controlled by this config. {FieldName} entities are replaced with referenced Field value.
public GetBody ( Node context ) : string
context Node
Résultat string

GetProperty() public méthode

public GetProperty ( string name ) : object
name string
Résultat object

GetSubject() public méthode

Returns the subject for the emails controlled by this config. {FieldName} entities are replaced with referenced Field value.
public GetSubject ( Node context ) : string
context Node
Résultat string

IsNotificationAllowedForContent() public méthode

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
Résultat bool

NotificationConfig() public méthode

public NotificationConfig ( Node parent ) : System
parent Node
Résultat System

NotificationConfig() public méthode

public NotificationConfig ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
Résultat System

NotificationConfig() protected méthode

protected NotificationConfig ( NodeToken nt ) : System
nt SenseNet.ContentRepository.Storage.NodeToken
Résultat System

ReplacePropertyValues() protected méthode

protected ReplacePropertyValues ( Node context, string text ) : string
context Node
text string
Résultat string

SetProperty() public méthode

public SetProperty ( string name, object value ) : void
name string
value object
Résultat void

Property Details

CONFIGFOLDERNAME public_oe static_oe property

public static string CONFIGFOLDERNAME
Résultat string

NOTIFICATIONCONFIGCONTENTNAME public_oe static_oe property

public static string NOTIFICATIONCONFIGCONTENTNAME
Résultat string

NOTIFICATIONCONFIGTYPENAME public_oe static_oe property

public static string NOTIFICATIONCONFIGTYPENAME
Résultat string