C# Класс Nexus.Client.ModManagement.AddModDescriptor

Describes a mod that is being added to the mod manager.
Наследование: IXmlSerializable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddModDescriptor ( ) : System

The default constructor.

AddModDescriptor ( Uri p_uriSourceUri, string p_strDefaultSourcePath, IEnumerable p_enmDownloadFiles, TaskStatus p_tstStatus, List p_lstSourceName ) : System

A simple constructor that initializes the object with the given values.

GetHost ( Int32 index ) : string

Gets the host where the file is currently being downloaded.

GetSchema ( ) : XmlSchema

This method is reserved, and returns as required.

ReadXml ( XmlReader reader ) : void

Deserializes the object from XML.

ToString ( ) : string

Returns a summary of the descriptor.

WriteXml ( XmlWriter writer ) : void

Serializes the object to XML.

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

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

The default constructor.
public AddModDescriptor ( ) : System
Результат System

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

A simple constructor that initializes the object with the given values.
public AddModDescriptor ( Uri p_uriSourceUri, string p_strDefaultSourcePath, IEnumerable p_enmDownloadFiles, TaskStatus p_tstStatus, List p_lstSourceName ) : System
p_uriSourceUri System.Uri The uri that points to the external source of the mod.
p_strDefaultSourcePath string The default source path of the mod.
p_enmDownloadFiles IEnumerable The list of files that still need to be downloaded to build the mod.
p_tstStatus TaskStatus The status of the task that is adding the mod.
p_lstSourceName List
Результат System

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

Gets the host where the file is currently being downloaded.
public GetHost ( Int32 index ) : string
index System.Int32
Результат string

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

This method is reserved, and returns as required.
public GetSchema ( ) : XmlSchema
Результат System.Xml.Schema.XmlSchema

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

Deserializes the object from XML.
public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader The xml reader from which to deserialize the object.
Результат void

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

Returns a summary of the descriptor.
public ToString ( ) : string
Результат string

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

Serializes the object to XML.
public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter The xml writer to which to serialize the object.
Результат void