Esempio n. 1
0
 public static DynamicModule Create()
 {
     Instance = new DynamicModule();
     return(Instance);
 }
Esempio n. 2
0
 /// <summary>
 /// queue
 /// </summary>
 /// <param name="configuration"></param>
 /// <returns></returns>
 public static DynamicModule UseCacheQueue(this DynamicModule configuration)
 {
     configuration.RegisterModule <Lind.DDD.CachingQueue.IQueue, Lind.DDD.CachingQueue.Implements.MemoryQueue>();
     return(configuration);
 }
Esempio n. 3
0
 /// <summary>
 /// message
 /// </summary>
 /// <param name="configuration"></param>
 /// <returns></returns>
 public static DynamicModule UseMessaging(this DynamicModule configuration)
 {
     configuration.RegisterModule <IMessageManager, EmptyMessageManager>();
     return(configuration);
 }
Esempio n. 4
0
 /// <summary>
 /// cache
 /// </summary>
 /// <param name="configuration"></param>
 /// <returns></returns>
 public static DynamicModule UseCache(this DynamicModule configuration)
 {
     configuration.RegisterModule <Lind.DDD.Caching.ICache, Lind.DDD.Caching.RedisCache>();
     return(configuration);
 }
Esempio n. 5
0
 /// <summary>
 /// logger
 /// </summary>
 /// <param name="configuration"></param>
 /// <returns></returns>
 public static DynamicModule UseLogger(this DynamicModule configuration)
 {
     configuration.RegisterModule <ILogger, NormalLogger>();
     return(configuration);
 }