Пример #1
0
        public TemplateResponse(FileEntry Response)
        {
            this.Response = Response;

            Error = null;
            //this.Error = new FileEntry();
        }
Пример #2
0
        public TemplateResponse(ErrorEntry Error)
        {
            //this.Response = new FileEntry();

            this.Error = Error;
            Response   = null;

            /*string ErrorJson = JsonConvert.SerializeObject(Error, Formatting.Indented);
             * this.Error = new FileEntry("error.json", Convert.ToBase64String(Encoding.UTF8.GetBytes(ErrorJson)));*/
        }