RoleQuery Class
- Namespace:
- Weavy.Core.Models
- Assembly:
- Weavy.Core.dll
Defines a query used to find matching Role items.
public class RoleQuery : Query<Role>, ICloneable
- Inheritance:
- System.Object → QueryOptions → Query → Weavy.Core.Models.Query{Weavy.Core.Models.Role} → RoleQuery
Constructors
Role |
Initializes a new instance of the RoleQuery class. |
Role |
Initializes a new instance of the RoleQuery class with the specified Query. |
Role |
Initializes a new instance of the RoleQuery class with the specified QueryOptions. |
Properties
Built |
Gets or sets a value indicating whether the result should return built-in roles.
Default is false .
|
Iss | Gets or sets the role issuer. Can be used to find all roles from a specific issuer. |
Member |
Gets or sets a user id. Can be used to find all roles that a User is member of. |
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. |