C# Class Nexus.Client.ModManagement.AddModDescriptor

Describes a mod that is being added to the mod manager.
Inheritance: IXmlSerializable
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddModDescriptor() public méthode

The default constructor.
public AddModDescriptor ( ) : System
Résultat System

AddModDescriptor() public méthode

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
Résultat System

GetHost() public méthode

Gets the host where the file is currently being downloaded.
public GetHost ( Int32 index ) : string
index System.Int32
Résultat string

GetSchema() public méthode

This method is reserved, and returns as required.
public GetSchema ( ) : XmlSchema
Résultat System.Xml.Schema.XmlSchema

ReadXml() public méthode

Deserializes the object from XML.
public ReadXml ( XmlReader reader ) : void
reader System.Xml.XmlReader The xml reader from which to deserialize the object.
Résultat void

ToString() public méthode

Returns a summary of the descriptor.
public ToString ( ) : string
Résultat string

WriteXml() public méthode

Serializes the object to XML.
public WriteXml ( XmlWriter writer ) : void
writer System.Xml.XmlWriter The xml writer to which to serialize the object.
Résultat void