예제 #1
0
        public SourceTable(TableWrapper table, IGatewayWriter gateQueueWriter, string gatewayKey)
            : base(table)
        {
            Guard.NotNull(gateQueueWriter, "gateQueueWriter");
            Guard.NotNullOrEmpty(gatewayKey, "gatewayKey");

            _gateQueueWriter = gateQueueWriter;
            _gatewayKey      = gatewayKey;
        }
예제 #2
0
        public SourceCollection(
            DocumentClient client,
            DocumentCollection collection,
            IGatewayWriter gateQueueWriter,
            string gatewayKey
            )
            : base(client, collection)
        {
            Guard.NotNull(gateQueueWriter, "gateQueueWriter");
            Guard.NotNullOrEmpty(gatewayKey, "gatewayKey");

            _gateQueueWriter = gateQueueWriter;
            _gatewayKey      = gatewayKey;
        }