LogEntryQuery Class

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

Defines a query used to find event log entries.

public class LogEntryQuery : Query, ICloneable
Inheritance:
System.Object → QueryOptionsQuery → Weavy.Core.Models.Query{Weavy.Core.Models.LogEntry} → LogEntryQuery

Constructors

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

Properties

Action Gets or sets a value indicating the type of actions to return.
Context Gets or sets the context for which to find events, null returns all events. Default value is null.
Subject Gets or sets the subject for which to find events, null returns all events. Default value 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, Nullable, 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.