public void AddAction(string template, WebMethodBits method, CgiActionAsync actionAsync) { if (IsSealed) { throw new CoresException("Sealed."); } List.Add(new CgiAction(template, method, actionAsync)); }
public CgiAction(string template, WebMethodBits methods, CgiActionAsync actionAsync) { Template = template; Methods = methods; ActionAsync = actionAsync; }