public RequestDictionary(RequestDataSnapshot data)
 {
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     _data = data;
 }
Exemplo n.º 2
0
        public RequestImpersonator(RequestDataSnapshot formData, RequestDataSnapshot querystringData, RequestDataSnapshot serverVariablesData)
        {
            if (formData == null)
            {
                throw new ArgumentNullException("formData");
            }
            if (querystringData == null)
            {
                throw new ArgumentNullException("querystringData");
            }
            if (serverVariablesData == null)
            {
                throw new ArgumentNullException("serverVariablesData");
            }

            _formData            = formData;
            _querystringData     = querystringData;
            _serverVariablesData = serverVariablesData;
        }
 public RequestImpersonatorCom(RequestDataSnapshot formData, RequestDataSnapshot querystringData, RequestDataSnapshot serverVariablesData)
     : base(new RequestImpersonator(formData, querystringData, serverVariablesData))
 {
     _requestImpersonator = new RequestImpersonator(formData, querystringData, serverVariablesData);
 }