Nexus.Client.ModManagement.AddModDescriptor.AddModDescriptor C# (CSharp) Method

AddModDescriptor() public method

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
return System
		public AddModDescriptor(Uri p_uriSourceUri, string p_strDefaultSourcePath, IEnumerable<Uri> p_enmDownloadFiles, TaskStatus p_tstStatus, List<string> p_lstSourceName)
			: this()
		{
			SourceUri = p_uriSourceUri;
			DefaultSourcePath = p_strDefaultSourcePath;
			if (p_enmDownloadFiles != null)
				DownloadFiles.AddRange(p_enmDownloadFiles);
			SourceName = p_lstSourceName;
			Status = p_tstStatus;
		}

Same methods

AddModDescriptor::AddModDescriptor ( ) : System