Esempio n. 1
0
        public WebAPIContext(WebAPIClient client, WebAPIMethod method, string uri)
        {
            Client = client;

            Method = method;
            Uri    = uri;

            Request  = new WebAPIRequest(Client);
            Response = new WebAPIResponse(Client);
        }
Esempio n. 2
0
		public WebAPIContext(WebAPIClient client, WebAPIMethod method, string uri)
		{
			Client = client;

			Method = method;
			Uri = uri;

			Request = new WebAPIRequest(Client);
			Response = new WebAPIResponse(Client);
		}
Esempio n. 3
0
		public void Dispose()
		{
			Client = null;

			Method = WebAPIMethod.UNKNOWN;
			Uri = null;

			Request.Dispose();
			Request = null;

			Response.Dispose();
			Response = null;
		}
Esempio n. 4
0
        public void Dispose()
        {
            Client = null;

            Method = WebAPIMethod.UNKNOWN;
            Uri    = null;

            Request.Dispose();
            Request = null;

            Response.Dispose();
            Response = null;
        }