C# 클래스 Rock.Follow.SuggestionComponent

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

공개 메소드들

메소드 설명
FormatEntityNotification ( FollowingSuggestionType followingSuggestionType, IEntity entity ) : string

Formats the entity notification.

GetAttributeValue ( string key ) : string

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

GetSuggestions ( FollowingSuggestionType followingSuggestionType, List FollowerPersonIds ) : List

Gets the suggestions.

LoadAttributes ( FollowingSuggestionType followingSuggestion ) : void

Loads the attributes for the following suggestion.

SortEntities ( List entities ) : List

Sorts the entities.

SuggestionComponent ( ) : System

Initializes a new instance of the SuggestionComponent class.

보호된 메소드들

메소드 설명
GetAttributeValue ( FollowingSuggestionType followingSuggestion, string key ) : string

Gets the attribute value for the suggestion

메소드 상세

FormatEntityNotification() 공개 메소드

Formats the entity notification.
public FormatEntityNotification ( FollowingSuggestionType followingSuggestionType, IEntity entity ) : string
followingSuggestionType FollowingSuggestionType Type of the following suggestion.
entity IEntity The entity.
리턴 string

GetAttributeValue() 보호된 메소드

Gets the attribute value for the suggestion
protected GetAttributeValue ( FollowingSuggestionType followingSuggestion, string key ) : string
followingSuggestion FollowingSuggestionType The following suggestion.
key string The key.
리턴 string

GetAttributeValue() 공개 메소드

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

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

Gets the suggestions.
public abstract GetSuggestions ( FollowingSuggestionType followingSuggestionType, List FollowerPersonIds ) : List
followingSuggestionType FollowingSuggestionType Type of the following suggestion.
FollowerPersonIds List The follower person ids.
리턴 List

LoadAttributes() 공개 메소드

Loads the attributes for the following suggestion.
public LoadAttributes ( FollowingSuggestionType followingSuggestion ) : void
followingSuggestion FollowingSuggestionType The following suggestion.
리턴 void

SortEntities() 공개 메소드

Sorts the entities.
public SortEntities ( List entities ) : List
entities List The entities.
리턴 List

SuggestionComponent() 공개 메소드

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