C# 클래스 Rock.Utility.SettingsStringBase

A base class that provides common functions to create or parse versioned settings strings used by various Rock components.
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
FromSelectionString ( string selectionString, string delimiter = SettingsDelimiter ) : void

Set values from a string representation of the settings.

ToSelectionString ( ) : string

Gets a string representation of the settings.

ToString ( ) : string

Returns a System.String that represents this instance.

보호된 메소드들

메소드 설명
OnGetParameters ( ) : IEnumerable

Gets an ordered set of property values that can be used to construct the settings string.

OnSetParameters ( int version, IReadOnlyList parameters ) : void

Set the property values parsed from a settings string.

메소드 상세

FromSelectionString() 공개 메소드

Set values from a string representation of the settings.
public FromSelectionString ( string selectionString, string delimiter = SettingsDelimiter ) : void
selectionString string A delimited string representing the settings.
delimiter string The delimiter used to separate the setting values.
리턴 void

OnGetParameters() 보호된 추상적인 메소드

Gets an ordered set of property values that can be used to construct the settings string.
protected abstract OnGetParameters ( ) : IEnumerable
리턴 IEnumerable

OnSetParameters() 보호된 추상적인 메소드

Set the property values parsed from a settings string.
protected abstract OnSetParameters ( int version, IReadOnlyList parameters ) : void
version int The version number of the parameter set.
parameters IReadOnlyList An ordered collection of strings representing the parameter values.
리턴 void

ToSelectionString() 공개 메소드

Gets a string representation of the settings.
public ToSelectionString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string