CommentQuery Class

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

Defines a query used to find matching comments.

public class CommentQuery : Query<Comment>, ICloneable
Inheritance:
System.Object → QueryOptionsQuery → Weavy.Core.Models.Query{Weavy.Core.Models.Comment} → CommentQuery

Constructors

CommentQuery() Initializes a new instance of the CommentQuery class.
CommentQuery(Query) Initializes a new instance of the CommentQuery class with the specified Query.
CommentQuery(QueryOptions) Initializes a new instance of the CommentQuery class with the specified QueryOptions.

Properties

Parent Gets or sets the parent entity for which to find comments, null to find all comments. Default is null.

Extension Methods

IsNullOrDefault(T) 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.
SerializeToJson(object, Formatting?, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.