public RavenJObject(RavenJObject other) { Properties = new DictionaryWithParentSnapshot(other.comparer); foreach (var kv in other.Properties) { Properties.Add(kv); } }
public RavenJObject(IEnumerable <KeyValuePair <string, RavenJToken> > props) { Properties = new DictionaryWithParentSnapshot(); foreach (var kv in props) { Properties.Add(kv); } }
public RavenJObject(RavenJObject other, IEqualityComparer <string> comparer) { Properties = new DictionaryWithParentSnapshot(comparer); foreach (var kv in other.Properties) { Properties.Add(kv); } }