TrashSearchResult Class

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

Result class returned when searching for trashed entities.

public class TrashSearchResult : SearchResult<TrashedEntity>, IList<TrashedEntity>, ICollection<TrashedEntity>, IList, ICollection, IReadOnlyList<TrashedEntity>, IReadOnlyCollection<TrashedEntity>, IEnumerable<TrashedEntity>, IEnumerable, IPagedList
Inheritance:
System.Object → System.Collections.Generic.List{Weavy.Core.Models.TrashedEntity} → Weavy.Core.Collections.PagedList{Weavy.Core.Models.TrashedEntity} → Weavy.Core.Models.SearchResult{Weavy.Core.Models.TrashedEntity} → TrashSearchResult
Implements:
IPagedList

Constructors

TrashSearchResult() Initializes an empty TrashResult class.
TrashSearchResult(TrashQuery, IEnumerableEntity>, Nullable) Initializes an instance of the TrashResult class with the specified query and result.

Properties

Query Gets the query used in the search.

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.