Class SearchViewModelBase<T>
Base class describing a view model for capturing the data for and displaying the result of a search.
Implements
Inherited Members
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
| Improve this Doc View SourceSearchViewModelBase()
Declaration
public SearchViewModelBase()
Properties
| Improve this Doc View SourceIsSimpleSearch
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 |
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 |