public void SignResource(Regex resource, string method, OnRequesDelegate request) { SignsRegex.Add(new Tuple <Regex, string, OnRequesDelegate>(resource, method, request)); }
//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)); }