C# Класс Atomia.Provisioning.Modules.Haproxy.Commands.HaproxyCommandBase

Наследование: ModuleCommandSimpleBase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
jsonSerializer System.Web.Script.Serialization.JavaScriptSerializer

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

Метод Описание
HaproxyCommandBase ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System

Защищенные методы

Метод Описание
ExecuteAdd ( ModuleService moduleService ) : void
ExecuteModify ( ModuleService oldService, Base service ) : void
ExecuteRemove ( ModuleService moduleService ) : void
GetPostData ( ModuleService service ) : string>.Dictionary
GetResourceURL ( ModuleService moduleService ) : string
REST_Execute_DELETE ( string uri ) : void
REST_Execute_GET ( string uri ) : string
REST_Execute_POST ( string uri, string>.Dictionary postdata ) : string>.Dictionary
REST_Execute_PUT ( string uri, string>.Dictionary postdata ) : void
ValidateService ( ModuleService moduleService ) : void

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

Метод Описание
REST_Execute_WithPostData ( string uri, string method, string>.Dictionary postdata ) : string>.Dictionary
REST_Execute_WithPostData_JSON ( string uri, string method, string>.Dictionary postdata ) : string
REST_GetClient ( string uri ) : WebRequest

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

ExecuteAdd() защищенный Метод

protected ExecuteAdd ( ModuleService moduleService ) : void
moduleService ModuleService
Результат void

ExecuteModify() защищенный Метод

protected ExecuteModify ( ModuleService oldService, Base service ) : void
oldService ModuleService
service Base
Результат void

ExecuteRemove() защищенный Метод

protected ExecuteRemove ( ModuleService moduleService ) : void
moduleService ModuleService
Результат void

GetPostData() защищенный Метод

protected GetPostData ( ModuleService service ) : string>.Dictionary
service ModuleService
Результат string>.Dictionary

GetResourceURL() защищенный абстрактный Метод

protected abstract GetResourceURL ( ModuleService moduleService ) : string
moduleService ModuleService
Результат string

HaproxyCommandBase() публичный Метод

public HaproxyCommandBase ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System
service ModuleService
resource ResourceDescription
newServiceSettings ModuleService
commandType ModuleCommandType
listDepth int
Результат System

REST_Execute_DELETE() защищенный Метод

protected REST_Execute_DELETE ( string uri ) : void
uri string
Результат void

REST_Execute_GET() защищенный Метод

protected REST_Execute_GET ( string uri ) : string
uri string
Результат string

REST_Execute_POST() защищенный Метод

protected REST_Execute_POST ( string uri, string>.Dictionary postdata ) : string>.Dictionary
uri string
postdata string>.Dictionary
Результат string>.Dictionary

REST_Execute_PUT() защищенный Метод

protected REST_Execute_PUT ( string uri, string>.Dictionary postdata ) : void
uri string
postdata string>.Dictionary
Результат void

ValidateService() защищенный Метод

protected ValidateService ( ModuleService moduleService ) : void
moduleService ModuleService
Результат void

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

jsonSerializer защищенное свойство

Serializer used to serialize/deserialize JSON data from the REST server.
protected Script.Serialization.JavaScriptSerializer,System.Web jsonSerializer
Результат System.Web.Script.Serialization.JavaScriptSerializer