Table of Contents

Class CommandBase<T>

Namespace
Dynamicweb.CoreUI.Data
Assembly
Dynamicweb.CoreUI.dll
public abstract class CommandBase<T> : CommandBase where T : new()

Type Parameters

T
Inheritance
CommandBase<T>
Derived
Inherited Members

Properties

Model

public T? Model { get; set; }

Property Value

T

Methods

GetModel()

protected T GetModel()

Returns

T

HandleDynamicFields<TDomainModel>(TDomainModel, Expression<Func<T, FieldGroupCollection>>)

public TDomainModel? HandleDynamicFields<TDomainModel>(TDomainModel domainModel, Expression<Func<T, FieldGroupCollection>> expression)

Parameters

domainModel TDomainModel
expression Expression<Func<T, FieldGroupCollection>>

Returns

TDomainModel

Type Parameters

TDomainModel

ValidateModel(T)

public virtual IEnumerable<ValidationResult>? ValidateModel(T model)

Parameters

model T

Returns

IEnumerable<ValidationResult>
To top