示例#1
0
 public GetFileResult(byte[] file, string name, HttpResponseHeaders headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
     File  = file;
     Name  = name;
     Bytes = file.Length;
 }
示例#2
0
 public UploadArchiveResult(NameValueCollection headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
 }
示例#3
0
 public ContainerInfo(HttpResponseHeaders headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
 }
 public StorageInfo(HttpResponseHeaders headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
 }
 public GetFileResult(Stream responseStream, string name, NameValueCollection headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
     this.ResponseStream = responseStream;
     this.Name           = name;
 }
 public UploadArchiveResult(HttpResponseHeaders headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
 }
示例#7
0
 internal override void Parse(NameValueCollection headers, object data, HttpStatusCode status)
 {
     this.Result = HeaderParsers.ParseHeaders <AuthResponse>(headers);
 }
示例#8
0
 public ContainerInfo(NameValueCollection headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
 }
示例#9
0
 internal override void Parse(HttpResponseHeaders headers, object data, HttpStatusCode status)
 {
     this.Result = HeaderParsers.ParseHeaders <AuthResponse>(headers);
 }
示例#10
0
 public StorageInfo(NameValueCollection headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
 }
示例#11
0
 public GetFileResult(byte[] file, string name, NameValueCollection headers)
 {
     HeaderParsers.ParseHeaders(this, headers);
     this.File = file;
     this.Name = name;
 }