Interface IConvertableViewItem
Used to indicate the type returned from a view should be converted to another type when displayed in sub views
Namespace: LemonEdge.API.Client.Views.Core
Assembly: LemonEdge.API.dll
Syntax
public interface IConvertableViewItem
Methods
CanConvertToType(Type)
Declaration
bool CanConvertToType(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Returns
Type | Description |
---|---|
bool |
Convert(IEntityRetriever, Type)
Declaration
Task<object> Convert(IEntityRetriever context, Type toType)
Parameters
Type | Name | Description |
---|---|---|
IEntityRetriever | context | |
Type | toType |
Returns
Type | Description |
---|---|
Task<object> |