public Collection GetCollection(string name) { Contract.Requires(!string.IsNullOrWhiteSpace(name)); return _collections.GetOrAdd(name, x => new Collection(x, this)); }