Esempio n. 1
0
 private static void DisposeUnused(ResourceBank supply)
 {
     foreach (var keyValuePair in supply)
     {
         keyValuePair.Key.Dispose(keyValuePair.Value);
     }
 }
Esempio n. 2
0
 private ResourceBank StoreSurplus(ResourceBank supply)
 {
     return(ResourceBank.Empty);
 }
Esempio n. 3
0
        private ResourceBank GetShortage(ResourceBank shortage)
        {
            var needed = -shortage;

            return(needed);
        }