示例#1
0
        public KinesisStream(string name, KinesisClient client)
        {
            #region Preconditions

            if (name == null)
            {
                throw new ArgumentNullException(nameof(name));
            }

            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            #endregion

            Name        = name;
            this.client = client;
        }
示例#2
0
 public KinesisStream(string name, KinesisClient client)
 {
     Name        = name ?? throw new ArgumentNullException(nameof(name));
     this.client = client ?? throw new ArgumentNullException(nameof(client));
 }