Class ValidationModelViewModel<T>
- Namespace
- H.Extensions.Validation
- Assembly
- H.Extensions.Validation.dll
public class ValidationModelViewModel<T> : ModelBindable<T>, INotifyPropertyChanged, IModelBindable<T>, IModelBindable, ISearchableType Parameters
- T
- Inheritance
- 
      
      
      
      ValidationModelViewModel<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
ValidationModelViewModel(T)
public ValidationModelViewModel(T t)Parameters
- tT
Methods
CreateModelProperty<R>(string)
获取指定名称实体字段数据
protected ValidationProperty<R> CreateModelProperty<R>(string propertyName = "")Parameters
- propertyNamestring
Returns
Type Parameters
- R
ModelState(out List<string>)
检查数据状态
public bool ModelState(out List<string> errors)