C# Класс Yaircc.UI.Themes

Represents the collection of installed themes on the system.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateThemeFromFile Theme
GetThemeXML System.Xml.Linq.XElement
PopulateThemes void
Themes System

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

Метод Описание
InstallTheme ( string path ) : Theme

Installs the theme at the specified path.

UninstallTheme ( Theme theme ) : void

Uninstalls the specified theme from the system.

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

Метод Описание
CreateThemeFromFile ( string fileName, bool isOfficial ) : Theme

Initialise a new instance of the Theme class using the specified file.

GetThemeXML ( string fileName ) : System.Xml.Linq.XElement

Get the XML portion of the specified theme.

PopulateThemes ( ) : void

Populates the collection of themes.

Themes ( ) : System

Prevents a default instance of the Themes class from being created.

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

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

Installs the theme at the specified path.
public InstallTheme ( string path ) : Theme
path string The path of the theme to install.
Результат Theme

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

Uninstalls the specified theme from the system.
public UninstallTheme ( Theme theme ) : void
theme Theme The theme to uninstall.
Результат void