C# Класс Dev2.Runtime.ServiceModel.WebSources

Наследование: Dev2.Runtime.Diagnostics.ExceptionManager
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
EnsureWebClient ( WebSource source, IEnumerable headers ) : void
Execute ( WebSource source, WebRequestMethod method, string relativeUri, byte data, bool throwError, ErrorResultTO &errors, string headers = null ) : byte[]
Execute ( WebSource source, WebRequestMethod method, string relativeUri, string data, bool throwError, ErrorResultTO &errors, string headers = null ) : string
Get ( string resourceId, System.Guid workspaceId, System.Guid dataListId ) : WebSource
Save ( string args, System.Guid workspaceId, System.Guid dataListId ) : string
Test ( string args, System.Guid workspaceId, System.Guid dataListId ) : ValidationResult
WebSources ( ) : System
WebSources ( IResourceCatalog resourceCatalog ) : System

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

Метод Описание
CanConnectServer ( WebSource source ) : ValidationResult
EnsureContentType ( WebClient client ) : void
Execute ( WebClient client, string address, WebRequestMethod method, byte data, bool throwError, ErrorResultTO &errors ) : byte[]
Execute ( WebClient client, string address, WebRequestMethod method, string data, bool throwError, ErrorResultTO &errors ) : string
FixResponse ( string result ) : string

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

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

public static EnsureWebClient ( WebSource source, IEnumerable headers ) : void
source Dev2.Runtime.ServiceModel.Data.WebSource
headers IEnumerable
Результат void

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

public static Execute ( WebSource source, WebRequestMethod method, string relativeUri, byte data, bool throwError, ErrorResultTO &errors, string headers = null ) : byte[]
source Dev2.Runtime.ServiceModel.Data.WebSource
method WebRequestMethod
relativeUri string
data byte
throwError bool
errors Dev2.DataList.Contract.ErrorResultTO
headers string
Результат byte[]

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

public static Execute ( WebSource source, WebRequestMethod method, string relativeUri, string data, bool throwError, ErrorResultTO &errors, string headers = null ) : string
source Dev2.Runtime.ServiceModel.Data.WebSource
method WebRequestMethod
relativeUri string
data string
throwError bool
errors Dev2.DataList.Contract.ErrorResultTO
headers string
Результат string

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

public Get ( string resourceId, System.Guid workspaceId, System.Guid dataListId ) : WebSource
resourceId string
workspaceId System.Guid
dataListId System.Guid
Результат Dev2.Runtime.ServiceModel.Data.WebSource

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

public Save ( string args, System.Guid workspaceId, System.Guid dataListId ) : string
args string
workspaceId System.Guid
dataListId System.Guid
Результат string

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

public Test ( string args, System.Guid workspaceId, System.Guid dataListId ) : ValidationResult
args string
workspaceId System.Guid
dataListId System.Guid
Результат Dev2.Runtime.Diagnostics.ValidationResult

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

public WebSources ( ) : System
Результат System

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

public WebSources ( IResourceCatalog resourceCatalog ) : System
resourceCatalog IResourceCatalog
Результат System