Наследование: ContentController, IEnableLogging
Пример #1
0
 public Mod(Guid id)
     : base(id)
 {
     Controller = new ModController(this);
     Categories = new string[0];
     Mirrors    = new Uri[0];
     Networks   = new List <Network>();
 }
 static IEnumerable<string> GetSignaturesSafe(ModController modController) {
     try {
         return modController.GetSignatures();
     } catch (UnauthorizedAccessException e) {
         MainLog.Logger.FormattedWarnException(e, "while processing signatures");
         return Enumerable.Empty<string>();
     }
 }