Пример #1
0
 internal static void Dereference()
 {
     if (--_refCount == 0)
     {
         Backing.Instance().Dispose();
     }
 }
Пример #2
0
 public static T Inject <T>(T target) where T : StrictDispose => Backing.Instance().InjectItem(target);