C# 클래스 SenseNet.Messaging.NotificationConfig

상속: SenseNet.ContentRepository.GenericContent
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CONFIGFOLDERNAME string
NOTIFICATIONCONFIGCONTENTNAME string
NOTIFICATIONCONFIGTYPENAME string

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
NotificationConfig ( NodeToken nt ) : System
ReplacePropertyValues ( Node context, string text ) : string

메소드 상세

GetBody() 공개 메소드

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
리턴 string

GetProperty() 공개 메소드

public GetProperty ( string name ) : object
name string
리턴 object

GetSubject() 공개 메소드

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
리턴 string

IsNotificationAllowedForContent() 공개 메소드

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
리턴 bool

NotificationConfig() 공개 메소드

public NotificationConfig ( Node parent ) : System
parent Node
리턴 System

NotificationConfig() 공개 메소드

public NotificationConfig ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
리턴 System

NotificationConfig() 보호된 메소드

protected NotificationConfig ( NodeToken nt ) : System
nt SenseNet.ContentRepository.Storage.NodeToken
리턴 System

ReplacePropertyValues() 보호된 메소드

protected ReplacePropertyValues ( Node context, string text ) : string
context Node
text string
리턴 string

SetProperty() 공개 메소드

public SetProperty ( string name, object value ) : void
name string
value object
리턴 void

프로퍼티 상세

CONFIGFOLDERNAME 공개적으로 정적으로 프로퍼티

public static string CONFIGFOLDERNAME
리턴 string

NOTIFICATIONCONFIGCONTENTNAME 공개적으로 정적으로 프로퍼티

public static string NOTIFICATIONCONFIGCONTENTNAME
리턴 string

NOTIFICATIONCONFIGTYPENAME 공개적으로 정적으로 프로퍼티

public static string NOTIFICATIONCONFIGTYPENAME
리턴 string