C# Класс AmazonMWS1.MarketplaceWebServiceProductsConfig

Configuration for accessing Marketplace Web Service Products service
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsSetMaxErrorRetry ( ) : System.Boolean

Checks if MaxErrorRetry property is set

IsSetProxyHost ( ) : System.Boolean

Checks if ProxyHost property is set

IsSetProxyPort ( ) : System.Boolean

Checks if ProxyPort property is set

IsSetServiceURL ( ) : System.Boolean

Checks if ServiceURL property is set

IsSetSignatureMethod ( ) : System.Boolean

Checks if SignatureMethod property is set

IsSetSignatureVersion ( ) : System.Boolean

Checks if SignatureVersion property is set

IsSetUserAgent ( ) : System.Boolean

Checks if UserAgent property is set

SetUserAgent ( String applicationName, String applicationVersion ) : void
WithMaxErrorRetry ( int maxErrorRetry ) : MarketplaceWebServiceProductsConfig

Sets the MaxErrorRetry property

WithProxyHost ( String proxyHost ) : MarketplaceWebServiceProductsConfig

Sets the ProxyHost property

WithProxyPort ( int proxyPort ) : MarketplaceWebServiceProductsConfig

Sets the ProxyPort property

WithServiceURL ( String serviceURL ) : MarketplaceWebServiceProductsConfig

Sets the ServiceURL property

WithSignatureMethod ( String signatureMethod ) : MarketplaceWebServiceProductsConfig

Sets the SignatureMethod property

WithSignatureVersion ( String signatureVersion ) : MarketplaceWebServiceProductsConfig

Sets the SignatureVersion property

WithUserAgent ( String applicationName, String applicationVersion ) : MarketplaceWebServiceProductsConfig

Sets the UserAgent property

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

Метод Описание
Clean ( string s ) : string

Replace all whitespace characters by a single space.

ConfigureUserAgentHeader ( String applicationName, String applicationVersion ) : void
QuoteApplicationName ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: '\', and '/'.

QuoteApplicationVersion ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: '\', and '('.

QuoteAttributeName ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: '\', and '='.

QuoteAttributeValue ( string s ) : string

Collapse whitespace, and escape the following characters are escaped: ')', '\', and ';'.

SetUserAgentHeader ( string applicationName, string applicationVersion, string programmingLanguage ) : void

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

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

Checks if MaxErrorRetry property is set
public IsSetMaxErrorRetry ( ) : System.Boolean
Результат System.Boolean

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

Checks if ProxyHost property is set
public IsSetProxyHost ( ) : System.Boolean
Результат System.Boolean

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

Checks if ProxyPort property is set
public IsSetProxyPort ( ) : System.Boolean
Результат System.Boolean

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

Checks if ServiceURL property is set
public IsSetServiceURL ( ) : System.Boolean
Результат System.Boolean

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

Checks if SignatureMethod property is set
public IsSetSignatureMethod ( ) : System.Boolean
Результат System.Boolean

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

Checks if SignatureVersion property is set
public IsSetSignatureVersion ( ) : System.Boolean
Результат System.Boolean

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

Checks if UserAgent property is set
public IsSetUserAgent ( ) : System.Boolean
Результат System.Boolean

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

public SetUserAgent ( String applicationName, String applicationVersion ) : void
applicationName String
applicationVersion String
Результат void

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

Sets the MaxErrorRetry property
public WithMaxErrorRetry ( int maxErrorRetry ) : MarketplaceWebServiceProductsConfig
maxErrorRetry int MaxErrorRetry property
Результат MarketplaceWebServiceProductsConfig

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

Sets the ProxyHost property
public WithProxyHost ( String proxyHost ) : MarketplaceWebServiceProductsConfig
proxyHost String ProxyHost property
Результат MarketplaceWebServiceProductsConfig

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

Sets the ProxyPort property
public WithProxyPort ( int proxyPort ) : MarketplaceWebServiceProductsConfig
proxyPort int ProxyPort property
Результат MarketplaceWebServiceProductsConfig

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

Sets the ServiceURL property
public WithServiceURL ( String serviceURL ) : MarketplaceWebServiceProductsConfig
serviceURL String ServiceURL property
Результат MarketplaceWebServiceProductsConfig

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

Sets the SignatureMethod property
public WithSignatureMethod ( String signatureMethod ) : MarketplaceWebServiceProductsConfig
signatureMethod String SignatureMethod property
Результат MarketplaceWebServiceProductsConfig

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

Sets the SignatureVersion property
public WithSignatureVersion ( String signatureVersion ) : MarketplaceWebServiceProductsConfig
signatureVersion String SignatureVersion property
Результат MarketplaceWebServiceProductsConfig

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

Sets the UserAgent property
public WithUserAgent ( String applicationName, String applicationVersion ) : MarketplaceWebServiceProductsConfig
applicationName String Your application's name, e.g. "MyMWSApp"
applicationVersion String Your application's version, e.g. "1.0"
Результат MarketplaceWebServiceProductsConfig