C# Класс Rock.Web.UI.RockTheme

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CleanThemeName ( string themeName ) : string

Cleans the name of the theme.

CloneTheme ( string sourceTheme, string targetTheme ) : bool

Clones the theme.

CloneTheme ( string sourceTheme, string targetTheme, string &messages ) : bool

Clones the theme.

Compile ( ) : bool

Compiles this instance.

Compile ( string &messages ) : bool

Compiles this instance.

CompileAll ( ) : bool

Compiles all themes.

CompileAll ( string &messages ) : bool

Compiles all themes.

DeleteTheme ( string themeName ) : bool

Deletes the theme.

DeleteTheme ( string themeName, string &messages ) : bool

Deletes the theme.

GetThemes ( ) : List

Gets the themes.

RockTheme ( ) : System

Initializes a new instance of the RockTheme class.

RockTheme ( string themeName ) : System

Initializes a new instance of the RockTheme class.

Приватные методы

Метод Описание
CopyAll ( DirectoryInfo source, DirectoryInfo target ) : void

Copies all.

Описание методов

CleanThemeName() публичный статический Метод

Cleans the name of the theme.
public static CleanThemeName ( string themeName ) : string
themeName string Name of the theme.
Результат string

CloneTheme() публичный статический Метод

Clones the theme.
public static CloneTheme ( string sourceTheme, string targetTheme ) : bool
sourceTheme string The source theme.
targetTheme string The target theme.
Результат bool

CloneTheme() публичный статический Метод

Clones the theme.
public static CloneTheme ( string sourceTheme, string targetTheme, string &messages ) : bool
sourceTheme string
targetTheme string
messages string
Результат bool

Compile() публичный Метод

Compiles this instance.
public Compile ( ) : bool
Результат bool

Compile() публичный Метод

Compiles this instance.
public Compile ( string &messages ) : bool
messages string
Результат bool

CompileAll() публичный статический Метод

Compiles all themes.
public static CompileAll ( ) : bool
Результат bool

CompileAll() публичный статический Метод

Compiles all themes.
public static CompileAll ( string &messages ) : bool
messages string The messages.
Результат bool

DeleteTheme() публичный статический Метод

Deletes the theme.
public static DeleteTheme ( string themeName ) : bool
themeName string Name of the theme.
Результат bool

DeleteTheme() публичный статический Метод

Deletes the theme.
public static DeleteTheme ( string themeName, string &messages ) : bool
themeName string Name of the theme.
messages string The messages.
Результат bool

GetThemes() публичный статический Метод

Gets the themes.
public static GetThemes ( ) : List
Результат List

RockTheme() публичный Метод

Initializes a new instance of the RockTheme class.
public RockTheme ( ) : System
Результат System

RockTheme() публичный Метод

Initializes a new instance of the RockTheme class.
public RockTheme ( string themeName ) : System
themeName string Name of the theme.
Результат System