public ITransManager CreateManager()
 {
     if (_transManager != null)
     {
         return(_transManager);
     }
     _transManager = new TransManagerInMemory();
     return(_transManager);
 }
示例#2
0
 public ITransManager CreateManager()
 {
     if (TransManager != null)
     {
         return(TransManager);
     }
     TransManager = new TransManagerInMemory {
         Locator = new RepositoryLocatorInMemory()
     };
     return(TransManager);
 }