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(); }
protected RokiTopLevelModule(bool isTopLevelModule = true) { ModuleTypeName = isTopLevelModule ? GetType().Name : GetType().DeclaringType?.Name; LowerModuleTypeName = ModuleTypeName?.ToLowerInvariant(); Log = LogManager.GetCurrentClassLogger(); }