Interface IViewSerializedParamDefaultEditor<T>
If a IModelView has any parameters (defined using Param) the type must inherit ViewSerializedParam
By default it is assumed the parameters have an associated ParamSingleViewerController<T> and the system presents a popup editor using that
This interface provides a custom way of editing those parameters with a custom parameter view.Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: ClientCore.dll
Syntax
public interface IViewSerializedParamDefaultEditor<T> : IViewSerializedParamDefaultEditor where T : ViewSerializedParam
Type Parameters
Name | Description |
---|---|
T | The type of ViewSerializedParam this interface will provide a default editor for |
Methods
DisplayCustomParams(T, IModelLayoutCommon)
Provides a default popup parameter window to the user for the specified original
parameter values within the specified host
Declaration
Task<ViewSerializedParam> DisplayCustomParams(T original, IModelLayoutCommon host)
Parameters
Type | Name | Description |
---|---|---|
T | original | The original value of the parameters to display |
IModelLayoutCommon | host | The host this popup parameter window operates within |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ViewSerializedParam> | The new parameters modified by the user, or same as |
Explicit Interface Implementations
IViewSerializedParamDefaultEditor.DisplayCustomParams(ViewSerializedParam, IModelLayoutCommon)
Declaration
Task<ViewSerializedParam> IViewSerializedParamDefaultEditor.DisplayCustomParams(ViewSerializedParam original, IModelLayoutCommon host)
Parameters
Type | Name | Description |
---|---|---|
ViewSerializedParam | original | |
IModelLayoutCommon | host |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ViewSerializedParam> |