using System.Collections.Generic;
using RethinkDb.Driver.Ast;
namespace RethinkDb.Driver.Model
{
///
/// Dictionary of string,ReqlAst
///
public class OptArgs : Dictionary
{
///
/// Fluent helper for setting dictionary[key] = value.
///
public virtual OptArgs With(string key, object value)
{
if( key != null )
{
this[key] = Util.ToReqlAst(value);
}
return this;
}
internal OptArgs with(string key, object value)
{
return With(key, value);
}
///
/// Fluent helper for setting dictionary[key] = List.
///
public virtual OptArgs With(string key, IList