Пример #1
0
        public St2ClientConnection(ISt2Client apiClient)
        {
            if (apiClient == null)
                throw new ArgumentNullException("apiClient");

            ApiClient = apiClient;
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the Stackstorm.Api.Client.Apis.ExecutionsApi class.
 /// </summary>
 /// <exception cref="ArgumentNullException">Thrown when one or more required arguments are null. </exception>
 /// <param name="host">The host. </param>
 public ExecutionsApi(ISt2Client host)
 {
     if (host == null)
     {
         throw new ArgumentNullException("host");
     }
     _host = host;
 }
Пример #3
0
 /// <summary>
 ///     Dispose of resources being used by the CaaS API connection.
 /// </summary>
 public void Dispose()
 {
     if (ApiClient != null)
     {
         ApiClient.Dispose();
         ApiClient = null;
     }
 }
Пример #4
0
 /// <summary>
 ///     Dispose of resources being used by the CaaS API connection.
 /// </summary>
 public void Dispose()
 {
     if (ApiClient != null)
     {
         ApiClient.Dispose();
         ApiClient = null;
     }
 }
Пример #5
0
        public St2ClientConnection(ISt2Client apiClient)
        {
            if (apiClient == null)
            {
                throw new ArgumentNullException("apiClient");
            }

            ApiClient = apiClient;
        }
Пример #6
0
 protected ExecutionsBase(ISt2Client host)
 {
     _host = host ?? throw new ArgumentNullException(nameof(host));
 }
Пример #7
0
 public VSphere(ISt2Client host) : base(host)
 {
 }
Пример #8
0
 public AzureGov(ISt2Client host) : base(host)
 {
 }
Пример #9
0
 public Core(ISt2Client host) : base(host)
 {
 }
Пример #10
0
 public Email(ISt2Client host) : base(host)
 {
 }
Пример #11
0
 /// <summary>
 /// Initializes a new instance of the Stackstorm.Api.Client.Apis.ActionsApi class.
 /// </summary>
 /// <exception cref="ArgumentNullException">Thrown when one or more required arguments are null. </exception>
 /// <param name="host">The host. </param>
 public ActionsApi(ISt2Client host)
 {
     if (host == null)
         throw new ArgumentNullException("host");
     _host = host;
 }
Пример #12
0
		/// <summary>
		/// 	Initializes a new instance of the TonyBaloney.St2.Client.Apis.ExecutionsApi class.
		/// </summary>
		/// <exception cref="ArgumentNullException">Thrown when one or more required arguments are null. </exception>
		/// <param name="host">	The host. </param>
		public ExecutionsApi(ISt2Client host)
		{
			if (host == null)
				throw new ArgumentNullException("host");
			_host = host;
		}