Exemple #1
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <returns></returns>
 public static DomainEventPublisherService Initialization(IDomainEventHandlerStore store)
 {
     if (_this == null)
     {
         lock (lock_obj)
         {
             _this = new DomainEventPublisherService(store);
         }
     }
     return(_this);
 }
Exemple #2
0
 private DomainEventPublisherService(IDomainEventHandlerStore store)
 {
     this.store = store;
 }