public Package(string iD, string name, string displayName, string platform, string section, string category, string subcategory, string authors, Dictionary <string, string> versions, string source, string dLSource, int size, int priority, bool enabledByDefault, bool visible, bool showsInCredits, string description, List <string> when, int whenMode, Warning warning, List <string> dependencies, List <string> deleteOnUpdate) { ID = iD; Name = name; DisplayName = displayName; Platform = platform; Section = section; Category = category; Subcategory = subcategory; Authors = authors; Versions = versions; Source = source; DLSource = dLSource; Size = size; Priority = priority; EnabledByDefault = enabledByDefault; Visible = visible; ShowsInCredits = showsInCredits; Description = description; When = when; WhenMode = whenMode; Warning = warning; Dependencies = dependencies; DeleteOnUpdate = deleteOnUpdate; }
public Package(string iD, string name, string displayName, string authors, string version, string source, string dLSource, bool enabledByDefault, bool visible, string description, List <string> when, int whenMode, Warning warning, List <string> dependencies, List <Artifact> artifacts) { ID = iD; Name = name; DisplayName = displayName; Authors = authors; Version = version; Source = source; DLSource = dLSource; EnabledByDefault = enabledByDefault; Visible = visible; Description = description; When = when; WhenMode = whenMode; Warning = warning; Dependencies = dependencies; Artifacts = artifacts; }