Example #1
0
 protected NadekoTopLevelModule(bool isTopLevelModule = true)
 {
     //if it's top level module
     ModuleTypeName      = isTopLevelModule ? this.GetType().Name : this.GetType().DeclaringType.Name;
     LowerModuleTypeName = ModuleTypeName.ToLowerInvariant();
     _log = LogManager.GetCurrentClassLogger();
 }
Example #2
0
File: Module.cs Project: snoww/roki
 protected RokiTopLevelModule(bool isTopLevelModule = true)
 {
     ModuleTypeName      = isTopLevelModule ? GetType().Name : GetType().DeclaringType?.Name;
     LowerModuleTypeName = ModuleTypeName?.ToLowerInvariant();
     Log = LogManager.GetCurrentClassLogger();
 }