Example #1
0
 public void SignResource(Regex resource, string method, OnRequesDelegate request)
 {
     SignsRegex.Add(new Tuple <Regex, string, OnRequesDelegate>(resource, method, request));
 }
Example #2
0
 //este método é utilizado para que as demais partes do sistema possa
 //"ouvir" recursos determinados.
 public void SignResource(string resource, string method, OnRequesDelegate request)
 {
     SignsStrings.Add(new Tuple <string, string, OnRequesDelegate>(resource, method, request));
 }