Esempio n. 1
0
 public static ResourcePool GetPrimordialResourcePool(string ResourceSubType)
 {
     return
         (ResourcePool.GetInstances()
          .Where((rp) =>
                 rp.Primordial == true &&
                 string.Compare(rp.ResourceSubType, ResourceSubType, true, CultureInfo.InvariantCulture) == 0)
          .First());
 }