C# 클래스 Rock.Follow.EventComponent

Base class for following provider components
상속: Rock.Extension.Component
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
EventComponent ( ) : System

Initializes a new instance of the EventComponent class.

FormatEntityNotification ( FollowingEventType followingEvent, IEntity entity ) : string

Formats the entity notification.

GetAttributeValue ( string key ) : string

Use GetAttributeValue( FollowingEvent followingEvent, string key) instead. event component attribute values are specific to the following event instance (rather than global). This method will throw an exception

HasEventHappened ( FollowingEventType followingEvent, IEntity entity, System.DateTime lastNotified ) : bool

Determines whether [has event happened] [the specified entity].

LoadAttributes ( FollowingEventType followingEvent ) : void

Loads the attributes for the following event.

보호된 메소드들

메소드 설명
GetAttributeValue ( FollowingEventType followingEvent, string key ) : string

Gets the attribute value for the event

메소드 상세

EventComponent() 공개 메소드

Initializes a new instance of the EventComponent class.
public EventComponent ( ) : System
리턴 System

FormatEntityNotification() 공개 메소드

Formats the entity notification.
public FormatEntityNotification ( FollowingEventType followingEvent, IEntity entity ) : string
followingEvent FollowingEventType The following event.
entity IEntity The entity.
리턴 string

GetAttributeValue() 보호된 메소드

Gets the attribute value for the event
protected GetAttributeValue ( FollowingEventType followingEvent, string key ) : string
followingEvent FollowingEventType The following event.
key string The key.
리턴 string

GetAttributeValue() 공개 메소드

Use GetAttributeValue( FollowingEvent followingEvent, string key) instead. event component attribute values are specific to the following event instance (rather than global). This method will throw an exception
Event Component attributes are saved specific to the following event, which requires that the current following event is included in order to load or retrieve values. Use the GetAttributeValue( FollowingEvent followingEvent, string key ) method instead.
public GetAttributeValue ( string key ) : string
key string The key.
리턴 string

HasEventHappened() 공개 추상적인 메소드

Determines whether [has event happened] [the specified entity].
public abstract HasEventHappened ( FollowingEventType followingEvent, IEntity entity, System.DateTime lastNotified ) : bool
followingEvent FollowingEventType The following event.
entity IEntity The entity.
lastNotified System.DateTime The last notified.
리턴 bool

LoadAttributes() 공개 메소드

Loads the attributes for the following event.
public LoadAttributes ( FollowingEventType followingEvent ) : void
followingEvent FollowingEventType The following event.
리턴 void