C# Class Dev2.Runtime.ServiceModel.WebSources

Inheritance: Dev2.Runtime.Diagnostics.ExceptionManager
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

EnsureWebClient() public static method

public static EnsureWebClient ( WebSource source, IEnumerable headers ) : void
source Dev2.Runtime.ServiceModel.Data.WebSource
headers IEnumerable
return void

Execute() public static method

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
return byte[]

Execute() public static method

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
return string

Get() public method

public Get ( string resourceId, System.Guid workspaceId, System.Guid dataListId ) : WebSource
resourceId string
workspaceId System.Guid
dataListId System.Guid
return Dev2.Runtime.ServiceModel.Data.WebSource

Save() public method

public Save ( string args, System.Guid workspaceId, System.Guid dataListId ) : string
args string
workspaceId System.Guid
dataListId System.Guid
return string

Test() public method

public Test ( string args, System.Guid workspaceId, System.Guid dataListId ) : ValidationResult
args string
workspaceId System.Guid
dataListId System.Guid
return Dev2.Runtime.Diagnostics.ValidationResult

WebSources() public method

public WebSources ( ) : System
return System

WebSources() public method

public WebSources ( IResourceCatalog resourceCatalog ) : System
resourceCatalog IResourceCatalog
return System