public SourceTable(TableWrapper table, IGatewayWriter gateQueueWriter, string gatewayKey) : base(table) { Guard.NotNull(gateQueueWriter, "gateQueueWriter"); Guard.NotNullOrEmpty(gatewayKey, "gatewayKey"); _gateQueueWriter = gateQueueWriter; _gatewayKey = gatewayKey; }
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; }