C# 클래스 Rock.Web.UI.Controls.FollowingsHelper

Helper class that allows you to configure a control (Image, Panel, etc) as a "Following" control
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
SetFollowing ( IEntity followEntity, WebControl followControl, Person follower ) : void

Configures a control to display and toggle following for the specified entity

메소드 상세

SetFollowing() 공개 정적인 메소드

Configures a control to display and toggle following for the specified entity
public static SetFollowing ( IEntity followEntity, WebControl followControl, Person follower ) : void
followEntity IEntity The follow entity. NOTE: Make sure to use PersonAlias instead of Person when following a Person
followControl System.Web.UI.WebControls.WebControl The follow control.
follower Person The follower.
리턴 void