Пример #1
0
 public TransactionLogModule(EntityArea area, TransactionLogSettings settings = null)
     : base(area, "TransactionLog", version: CurrentVersion)
 {
     Settings = settings ?? new TransactionLogSettings();
       App.RegisterConfig(Settings);
       RegisterEntities(typeof(ITransactionLog));
       App.RegisterService<ITransactionLogService>(this);
 }
Пример #2
0
 public TransactionLogModule(EntityArea area, TransactionLogSettings settings = null, bool trackHostApp = true) : base(area, "TransactionLog", version: CurrentVersion)
 {
     Settings = settings ?? new TransactionLogSettings();
     App.RegisterConfig(Settings);
     RegisterEntities(typeof(ITransactionLog));
     App.RegisterService <ITransactionLogService>(this);
     if (trackHostApp)
     {
         SetupLoggingFor(this.App);
     }
 }