MemberQuery Class
- Namespace:
- Weavy.Core.Models
- Assembly:
- Weavy.Core.dll
Defines a query used to find members.
public class MemberQuery : Query<Member>, ICloneable
- Inheritance:
- System.Object → QueryOptions → Query → Weavy.Core.Models.Query{Weavy.Core.Models.Member} → MemberQuery
Constructors
Member |
Initializes a new instance of the MemberQuery class. |
Member |
Initializes a new instance of the MemberQuery class with the specified Query. |
Member |
Initializes a new instance of the MemberQuery class with the specified QueryOptions. |
Properties
Admin |
Gets or sets a value indicating whether the search should return members that are admins;
true returns only admins, false returns only entities that are not admins and null ignores the IsAdmin property.
Default is null .
|
External |
Gets or sets a value indicating whether to find external members or not, null returns all members.
|
Pending |
Gets or sets a value indicating whether the search should return pending members;
true returns only pending members, false returns only entities that is not pending and null ignores the IsPending property.
Default is false .
|
Suspended |
Gets or sets a value indicating whether to find suspended members or not, null returns all members.
|
Extension Methods
Is |
Gets a value indicating if the specified value has the default value of the generic type. |
Serialize(object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |