Пример #1
0
 public LibDependency(string name, string[] inplatforms = null)
 {
     LibName = name;
     if (inplatforms != null)
     {
         foreach (string s in inplatforms)
         {
             Platforms.Add(PlatformDefinition.ParseString(s));
         }
     }
 }
Пример #2
0
 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));
         }
     }
 }