C# 클래스 BlogEngine.Core.BlogSettings

Represents the configured settings for the blog engine.
파일 보기 프로젝트 열기: rasmuskl/ReSharperCourse 1 사용 예제들

공개 메소드들

메소드 설명
GetInstanceSettings ( Blog blog ) : BlogSettings

Returns the settings for the requested blog instance.

GetThemeWithAdjustments ( string themeOverride ) : string

Takes into account factors such as if there is a theme override of if the theme is a Razor theme and returns the actual theme folder name for the current HTTP request.

IsThemeRazor ( string themeName ) : bool

Determines if themeName is a razor theme.

Save ( ) : void

Saves the settings to disk.

Version ( ) : string

Returns the BlogEngine.NET version information.

The current version is determined by extracting the build version of the BlogEngine.Core assembly.

비공개 메소드들

메소드 설명
BlogSettings ( ) : System

Prevents a default instance of the BlogSettings class from being created. Initializes a new instance of the BlogSettings class.

GetSettingsTypePropertyDict ( ) : System.Reflection.PropertyInfo>.IDictionary
Load ( ) : void

Initializes the singleton instance of the BlogSettings class.

OnChanged ( ) : void

Occurs when the settings have been changed.

메소드 상세

GetInstanceSettings() 공개 정적인 메소드

Returns the settings for the requested blog instance.
public static GetInstanceSettings ( Blog blog ) : BlogSettings
blog Blog
리턴 BlogSettings

GetThemeWithAdjustments() 공개 메소드

Takes into account factors such as if there is a theme override of if the theme is a Razor theme and returns the actual theme folder name for the current HTTP request.
public GetThemeWithAdjustments ( string themeOverride ) : string
themeOverride string
리턴 string

IsThemeRazor() 공개 정적인 메소드

Determines if themeName is a razor theme.
public static IsThemeRazor ( string themeName ) : bool
themeName string
리턴 bool

Save() 공개 메소드

Saves the settings to disk.
public Save ( ) : void
리턴 void

Version() 공개 메소드

Returns the BlogEngine.NET version information.
The current version is determined by extracting the build version of the BlogEngine.Core assembly.
public Version ( ) : string
리턴 string