Exemplo n.º 1
0
 Policy(Agent agent, Session session, Uri uri, Dictionary <string, ISet <String> > extra, ICollection <string> attributes)
     : this(agent)
 {
     var url = GetUrl(agent, uri);
     result = Get(new policy.Request(agent, session, url, extra, attributes));
 }
Exemplo n.º 2
0
        Policy(Agent agent, Session session, Uri uri, Dictionary <string, ISet <String> > extra, ICollection <string> attributes)
        {
            var url = GetUrl(agent, uri);

            result = (policy.Response) new policy.Request(agent, session, url, extra, attributes).getResponse();
        }