MongoDB.Database.GetCollection C# (CSharp) Method

GetCollection() public method

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