Пример #1
0
 public override void OnBeginTransaction()
 {
     if (_instance == null)
     {
         _instance = this;
     }
 }
Пример #2
0
 public override void OnEndTransaction()
 {
     if (_instance == this)
     {
         _instance = null;
     }
 }