C# Class ScrewTurn.Wiki.Settings

Datei anzeigen Open project: mono/ScrewTurnWiki Class Usage Examples

Private Properties

Property Type Description
GetBool bool
GetInt int
GetString string
PrintBool string

Public Methods

Method Description
BeginBulkUpdate ( ) : void

Begins a bulk update session.

EndBulkUpdate ( ) : void

Ends a bulk update session.

GetTheme ( string nspace ) : string

Gets the theme name for a namespace.

GetThemePath ( string nspace ) : string

Gets the Theme Path for a namespace.

IsMetaDataItemGlobal ( MetaDataItem item ) : bool

Determines whether a meta-data item is global or namespace-specific.

SetTheme ( string nspace, string theme ) : void

Sets the theme for a namespace.

Private Methods

Method Description
GetBool ( string value, bool def ) : bool

Gets a boolean.

GetInt ( string value, int def ) : int

Gets an integer.

GetString ( string value, string def ) : string

Gets a string.

PrintBool ( bool value ) : string

Prints a boolean.

Method Details

BeginBulkUpdate() public static method

Begins a bulk update session.
public static BeginBulkUpdate ( ) : void
return void

EndBulkUpdate() public static method

Ends a bulk update session.
public static EndBulkUpdate ( ) : void
return void

GetTheme() public static method

Gets the theme name for a namespace.
public static GetTheme ( string nspace ) : string
nspace string The namespace (null for the root).
return string

GetThemePath() public static method

Gets the Theme Path for a namespace.
public static GetThemePath ( string nspace ) : string
nspace string The namespace (null for the root).
return string

IsMetaDataItemGlobal() public static method

Determines whether a meta-data item is global or namespace-specific.
public static IsMetaDataItemGlobal ( MetaDataItem item ) : bool
item MetaDataItem The item to test.
return bool

SetTheme() public static method

Sets the theme for a namespace.
public static SetTheme ( string nspace, string theme ) : void
nspace string The namespace (null for the root).
theme string The theme name.
return void