コード例 #1
0
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="config">configuration</param>
 public MarketplaceWebServiceOrdersClient(String accessKey, String secretKey, MarketplaceWebServiceOrdersConfig config)
 {
     connection = config.CopyConnection();
     connection.AwsAccessKeyId = accessKey;
     connection.AwsSecretKeyId = secretKey;
     connection.LibraryVersion = libraryVersion;
     servicePath = config.ServicePath;
 }
コード例 #2
0
ファイル: MwsConnection.cs プロジェクト: ACGDev/ACGConsole
        /// <summary>
        /// Clones the connection and resets the state as if it was never used
        /// </summary>
        /// <returns></returns>
        public Object Clone()
        {
            MwsConnection conn = (MwsConnection)base.MemberwiseClone();

            conn.cachedServiceMap = new Dictionary <string, ServiceEndpoint>();
            conn.frozen           = false;
            return(conn);
        }
コード例 #3
0
 /// <summary>
 /// Create client.
 /// </summary>
 /// <param name="accessKey">Access Key</param>
 /// <param name="secretKey">Secret Key</param>
 /// <param name="applicationName">Application Name</param>
 /// <param name="applicationVersion">Application Version</param>
 /// <param name="config">configuration</param>
 public MarketplaceWebServiceOrdersClient(
     string accessKey,
     string secretKey,
     string applicationName,
     string applicationVersion,
     MarketplaceWebServiceOrdersConfig config)
 {
     connection = config.CopyConnection();
     connection.AwsAccessKeyId     = accessKey;
     connection.AwsSecretKeyId     = secretKey;
     connection.ApplicationName    = applicationName;
     connection.ApplicationVersion = applicationVersion;
     connection.LibraryVersion     = libraryVersion;
     servicePath = config.ServicePath;
 }
コード例 #4
0
ファイル: MwsAQCall.cs プロジェクト: ACGDev/ACGConsole
 public MwsAQCall(MwsConnection connection, MwsConnection.ServiceEndpoint serviceEndpoint, string operationName)
 {
     this.connection      = connection;
     this.serviceEndPoint = serviceEndpoint;
     this.operationName   = operationName;
 }