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

Helper class that can be used by blocks to pre-load attributes/values so that the attribute field columns don't need to call LoadAttributes or query for attribute values for every row/column
상속: IHasAttributes
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AttributeFieldObject ( ) : System

Initializes a new instance of the AttributeFieldObject class.

GetAttributeValue ( string key ) : string

Gets the value of an attribute key.

GetAttributeValues ( string key ) : List

Gets the value of an attribute key - splitting that delimited value into a list of strings.

SetAttributeValue ( string key, string value ) : void

Sets the value of an attribute key in memory. Note, this will not persist value to database

메소드 상세

AttributeFieldObject() 공개 메소드

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

GetAttributeValue() 공개 메소드

Gets the value of an attribute key.
public GetAttributeValue ( string key ) : string
key string The key.
리턴 string

GetAttributeValues() 공개 메소드

Gets the value of an attribute key - splitting that delimited value into a list of strings.
public GetAttributeValues ( string key ) : List
key string The key.
리턴 List

SetAttributeValue() 공개 메소드

Sets the value of an attribute key in memory. Note, this will not persist value to database
public SetAttributeValue ( string key, string value ) : void
key string The key.
value string The value.
리턴 void