public CommandBase(CouchbaseClient client, string key, CbcOptions options) { Key = key; this.client = client; this.options = options; }
public CbcSet(CouchbaseClient cli, string key, CbcOptions options) : base(cli, key, options) { Value = options.Value; if (Value == null) { throw new ArgumentException("Set command needs value"); } }
public CbcObserve(CouchbaseClient cli, string key, CbcOptions options, UInt64 cas = 0) : base(cli, key, options) { if (cas > 0) { Cas = cas; } else if (options.Cas > 0) { Cas = options.Cas; } else { throw new ArgumentException("Invalid CAS"); } }
public CbcObserve(CouchbaseClient cli, string key, CbcOptions options, UInt64 cas = 0) : base(cli, key, options) { if (cas > 0) { Cas = cas; } else if (options.Cas > 0 ) { Cas = options.Cas; } else { throw new ArgumentException("Invalid CAS"); } }
public CbcGet(CouchbaseClient cli, string key, CbcOptions opts) : base(cli, key, opts) { }
public CbcObserveWrap(CouchbaseClient cli, string key, CbcOptions opts) : base(cli, key, opts) { }