Class GroupByWrapper
Represents a wrapped object that can be used where an IMongoGroupBy is expected (the wrapped object is expected to serialize properly).
[BsonSerializer(typeof(GroupByWrapper.Serializer))]
public class GroupByWrapper : BaseWrapper, IMongoGroupBy
- Inheritance
-
GroupByWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
GroupByWrapper(object)
Initializes a new instance of the GroupByWrapper class.
public GroupByWrapper(object groupBy)
Parameters
groupBy
objectThe wrapped object.
Methods
Create(object)
Creates a new instance of the GroupByWrapper class.
public static GroupByWrapper Create(object groupBy)
Parameters
groupBy
objectThe wrapped object.
Returns
- GroupByWrapper
A new instance of GroupByWrapper or null.