public LibDependency(string name, string[] inplatforms = null) { LibName = name; if (inplatforms != null) { foreach (string s in inplatforms) { Platforms.Add(PlatformDefinition.ParseString(s)); } } }
public LibDependency(string name, string platfrom = null) { LibName = name; if (platfrom != null) { if (platfrom.ToLower() == "all") { Platforms.AddRange(PlatformID.Ids); } else { Platforms.Add(PlatformDefinition.ParseString(platfrom)); } } }