AttachmentSearchResult Class

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

Result class returned when searching for attachments.

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

Constructors

AttachmentSearchResult() Initializes an empty AttachmentResult class.
AttachmentSearchResult(AttachmentQuery, IEnumerable, Nullable) Initializes an instance of the AttachmentResult 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.