예제 #1
0
 public static InMemoryRepository GetInstance()
 {
     if (_instance == null)
     {
         _instance = new InMemoryRepository();
     }
     return _instance;
 }
예제 #2
0
 public ResultatServiceHub()
 {
     _repository = InMemoryRepository.GetInstance();
 }