C# 클래스 Nexus.Client.ModManagement.AddModDescriptor

Describes a mod that is being added to the mod manager.
상속: IXmlSerializable
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
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