Class DisplayableItemDescriptorForCollectionAny<T>
The DisplayableItemDescriptor for an item that should display a collection of entity types
The Item is not the entity collection itself, that is loaded by the views however they like, simply a CollectionItem class that represents what type of collection should be loaded and displayed
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class DisplayableItemDescriptorForCollectionAny<T> : DisplayableItemDescriptor, IEquatable<DisplayableItemDescriptor> where T : class
Type Parameters
Name | Description |
---|---|
T | The type of entity to be loaded and displayed as a collection |
Constructors
DisplayableItemDescriptorForCollectionAny(IEntityUpdater)
Declaration
public DisplayableItemDescriptorForCollectionAny(IEntityUpdater context)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | context |
DisplayableItemDescriptorForCollectionAny(IEntityUpdater, string)
Creates a new instance of collection displayable item descriptor
Declaration
public DisplayableItemDescriptorForCollectionAny(IEntityUpdater context, string headerLabel)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | context | The context updater this descriptor and IModelLayoutDisplayer will operate within |
string | headerLabel |
Properties
ImageID
The image is the DefaultIconID for the specified entity
type T
Declaration
public override Guid ImageID { get; }
Property Value
Type | Description |
---|---|
Guid |
Overrides
Item
The actual item to be displayed by the IModelLayoutDisplayer
Declaration
public override object Item { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
LabelBinding
The label binding is the name of the collection which binds to Label
Declaration
public override string LabelBinding { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OverlayImageID
The overlay image is of a grid for a collection of these items
Declaration
public override Guid? OverlayImageID { get; }
Property Value
Type | Description |
---|---|
Guid? |
Overrides
UniqueLayoutDisplayName
The unique name for loading a layout to display this item is SetName
Declaration
public override string UniqueLayoutDisplayName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
ClearItem()
Declaration
public override void ClearItem()
Overrides
Equals(DisplayableItemDescriptor)
Declaration
public override bool Equals(DisplayableItemDescriptor other)
Parameters
Type | Name | Description |
---|---|---|
DisplayableItemDescriptor | other |
Returns
Type | Description |
---|---|
bool |
Overrides
Recreate()
Recreates this descriptor instance with a new Context
Declaration
public override Task<DisplayableItemDescriptor> Recreate()
Returns
Type | Description |
---|---|
Task<DisplayableItemDescriptor> | A new descriptor instance identical to this one with a new Context |