Show / Hide Table of Contents

Class SearchViewModelBase<T>

Base class describing a view model for capturing the data for and displaying the result of a search.

Inheritance
object
SortableViewModelBase<T>
SearchViewModelBase<T>
Implements
ISortableResult
Inherited Members
SortableViewModelBase<T>.CurrentSortProperty
SortableViewModelBase<T>.CurrentSortDirection
SortableViewModelBase<T>.Results
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.Common
Assembly: Benday.Common.dll
Syntax
public class SearchViewModelBase<T> : SortableViewModelBase<T>, ISortableResult
Type Parameters
Name Description
T

Data type for the result items

Constructors

| Edit this page View Source

SearchViewModelBase()

Declaration
public SearchViewModelBase()

Properties

| Edit this page View Source

IsSimpleSearch

Is this a simple search. A simple search uses just a single string as a search argument

Declaration
[Display(Name = "Simple Search")]
public bool IsSimpleSearch { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

SimpleSearchValue

If this is a simple search, this is the search argument value

Declaration
[Display(Name = "Simple Search Value")]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string SimpleSearchValue { get; set; }
Property Value
Type Description
string

Implements

ISortableResult
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com