C# Класс SobekCM.Core.Configuration.Extensions.ExtensionInfo

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

Private Properties

Свойство Тип Описание

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

Метод Описание
Add_Assembly ( string AssemblyPathFile ) : void

Add information about a related assembly for this plug-in

Add_Assembly ( string ID, string AssemblyPathFile ) : void

Add information about a related assembly for this plug-in

Add_CssFile ( string URL, ExtensionCssInfoConditionEnum Condition ) : void

Add information about an extension CSS file

Add_Error ( string ErrorMessage ) : void

Add information about any error encountered while reading the plug-in configuration file extension subtree

ExtensionInfo ( ) : System

Constructor for a new instance of the ExtensionInfo class

ShouldSerializeAssemblies ( ) : bool

Method suppresses XML Serialization of the Assemblies property if it is empty

ShouldSerializeCssFiles ( ) : bool

Method suppresses XML Serialization of the CssFiles property if it is empty

ShouldSerializeKeyValueConfigurations ( ) : bool

Method suppresses XML Serialization of the KeyValueConfigurations property if it is empty

ShouldSerializeXmlConfigurations ( ) : bool

Method suppresses XML Serialization of the XmlConfigurations property if it is empty

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

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

Add information about a related assembly for this plug-in
public Add_Assembly ( string AssemblyPathFile ) : void
AssemblyPathFile string Absolute path and filename for this assembly DLL file
Результат void

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

Add information about a related assembly for this plug-in
public Add_Assembly ( string ID, string AssemblyPathFile ) : void
ID string ID for this assembly, which is used throughout the configuration files to reference this assembly
AssemblyPathFile string Absolute path and filename for this assembly DLL file
Результат void

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

Add information about an extension CSS file
public Add_CssFile ( string URL, ExtensionCssInfoConditionEnum Condition ) : void
URL string URL for this CSS
Condition ExtensionCssInfoConditionEnum Condition upon which this CSS file should be added
Результат void

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

Add information about any error encountered while reading the plug-in configuration file extension subtree
public Add_Error ( string ErrorMessage ) : void
ErrorMessage string Error message to add
Результат void

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

Constructor for a new instance of the ExtensionInfo class
public ExtensionInfo ( ) : System
Результат System

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

Method suppresses XML Serialization of the Assemblies property if it is empty
public ShouldSerializeAssemblies ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the CssFiles property if it is empty
public ShouldSerializeCssFiles ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the KeyValueConfigurations property if it is empty
public ShouldSerializeKeyValueConfigurations ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the XmlConfigurations property if it is empty
public ShouldSerializeXmlConfigurations ( ) : bool
Результат bool