Example #1
0
        public void AddAction(string template, WebMethodBits method, CgiActionAsync actionAsync)
        {
            if (IsSealed)
            {
                throw new CoresException("Sealed.");
            }

            List.Add(new CgiAction(template, method, actionAsync));
        }
Example #2
0
 public CgiAction(string template, WebMethodBits methods, CgiActionAsync actionAsync)
 {
     Template    = template;
     Methods     = methods;
     ActionAsync = actionAsync;
 }