C# Class ElmcityUtils.StorageUtils

ファイルを表示 Open project: judell/elmcity Class Usage Examples

Public Properties

Property Type Description
atom_namespace System.Xml.Linq.XNamespace
timeout_secs System.TimeSpan

Public Methods

Method Description
AddDateHeader ( Hashtable headers ) : void
AddVersionHeader ( Hashtable headers ) : void
DoStorageRequest ( string method, Hashtable headers, byte data, string content_type, Uri uri ) : HttpResponse
MakeSharedKeyLiteHeader ( services service_type, string azure_storage_account, string azure_b64_key, string http_method, string path, string query_string, string content_type, Hashtable headers ) : string

Private Methods

Method Description
SignAuthString ( string azure_b64_key, string string_to_sign ) : string

Method Details

AddDateHeader() public static method

public static AddDateHeader ( Hashtable headers ) : void
headers System.Collections.Hashtable
return void

AddVersionHeader() public static method

public static AddVersionHeader ( Hashtable headers ) : void
headers System.Collections.Hashtable
return void

DoStorageRequest() public static method

public static DoStorageRequest ( string method, Hashtable headers, byte data, string content_type, Uri uri ) : HttpResponse
method string
headers System.Collections.Hashtable
data byte
content_type string
uri System.Uri
return HttpResponse

MakeSharedKeyLiteHeader() public static method

public static MakeSharedKeyLiteHeader ( services service_type, string azure_storage_account, string azure_b64_key, string http_method, string path, string query_string, string content_type, Hashtable headers ) : string
service_type services
azure_storage_account string
azure_b64_key string
http_method string
path string
query_string string
content_type string
headers System.Collections.Hashtable
return string

Property Details

atom_namespace public_oe static_oe property

public static XNamespace,System.Xml.Linq atom_namespace
return System.Xml.Linq.XNamespace

timeout_secs public_oe static_oe property

public static TimeSpan,System timeout_secs
return System.TimeSpan