C# Class Rock.Web.UI.Controls.FollowingsHelper

Helper class that allows you to configure a control (Image, Panel, etc) as a "Following" control
Exibir arquivo Open project: NewSpring/Rock

Public Methods

Method Description
SetFollowing ( IEntity followEntity, WebControl followControl, Person follower ) : void

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

Method Details

SetFollowing() public static method

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.
return void