C# 클래스 Subtext.Framework.HostInfo

Represents the system, and its settings, that hosts the blogs within this Subtext installation.
파일 보기 프로젝트 열기: ayende/Subtext 1 사용 예제들

공개 메소드들

메소드 설명
CreateHost ( string hostUserName, string hostPassword ) : bool

Creates the host in the persistent store.

LoadHost ( bool suppressException ) : HostInfo

Loads the host from the Object Provider. This is provided for those cases when we really need to hit the data strore. Calling this method will also reload the HostInfo.Instance from the data store.

SetHostPassword ( HostInfo host, string newPassword ) : void
UpdateHost ( HostInfo host ) : bool

Updates the host in the persistent store.

비공개 메소드들

메소드 설명
HostInfo ( ) : System

메소드 상세

CreateHost() 공개 정적인 메소드

Creates the host in the persistent store.
public static CreateHost ( string hostUserName, string hostPassword ) : bool
hostUserName string
hostPassword string
리턴 bool

LoadHost() 공개 정적인 메소드

Loads the host from the Object Provider. This is provided for those cases when we really need to hit the data strore. Calling this method will also reload the HostInfo.Instance from the data store.
public static LoadHost ( bool suppressException ) : HostInfo
suppressException bool If true, won't throw an exception.
리턴 HostInfo

SetHostPassword() 공개 정적인 메소드

public static SetHostPassword ( HostInfo host, string newPassword ) : void
host HostInfo
newPassword string
리턴 void

UpdateHost() 공개 정적인 메소드

Updates the host in the persistent store.
public static UpdateHost ( HostInfo host ) : bool
host HostInfo Host.
리턴 bool