C# 클래스 Rock.Web.SystemSettings

파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CacheKey string
Read SystemSettings
SystemSettings System

공개 메소드들

메소드 설명
Flush ( ) : void

Flushes this instance.

GetRockInstanceId ( ) : System.Guid

Gets the RockInstanceId for this particular installation.

GetValue ( string key ) : string

Gets the Global Attribute values for the specified key.

SetValue ( string key, string value ) : void

Sets the value.

비공개 메소드들

메소드 설명
CacheKey ( ) : string
Read ( ) : SystemSettings

Returns Global Attributes from cache. If they are not already in cache, they will be read and added to cache

SystemSettings ( ) : System

메소드 상세

Flush() 공개 정적인 메소드

Flushes this instance.
public static Flush ( ) : void
리턴 void

GetRockInstanceId() 공개 정적인 메소드

Gets the RockInstanceId for this particular installation.
public static GetRockInstanceId ( ) : System.Guid
리턴 System.Guid

GetValue() 공개 정적인 메소드

Gets the Global Attribute values for the specified key.
public static GetValue ( string key ) : string
key string The key.
리턴 string

SetValue() 공개 정적인 메소드

Sets the value.
public static SetValue ( string key, string value ) : void
key string The key.
value string The value.
리턴 void