C# Класс ElmcityUtils.StorageUtils

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
atom_namespace System.Xml.Linq.XNamespace
timeout_secs System.TimeSpan

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
SignAuthString ( string azure_b64_key, string string_to_sign ) : string

Описание методов

AddDateHeader() публичный статический Метод

public static AddDateHeader ( Hashtable headers ) : void
headers System.Collections.Hashtable
Результат void

AddVersionHeader() публичный статический Метод

public static AddVersionHeader ( Hashtable headers ) : void
headers System.Collections.Hashtable
Результат void

DoStorageRequest() публичный статический Метод

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
Результат HttpResponse

MakeSharedKeyLiteHeader() публичный статический Метод

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
Результат string

Описание свойств

atom_namespace публичное статическое свойство

public static XNamespace,System.Xml.Linq atom_namespace
Результат System.Xml.Linq.XNamespace

timeout_secs публичное статическое свойство

public static TimeSpan,System timeout_secs
Результат System.TimeSpan