/// <summary> /// Initializes an instance of <see cref="GatewayDescriptor"/>. /// </summary> /// <param name="gatewayType">Type of the gateway.</param> public GatewayDescriptor(Type gatewayType) { GatewayHelper.IsGateway(gatewayType, throwException: true); GatewayType = gatewayType; }