Class RelationshipNodeModel
- Namespace
- The.Model.Editor
- Assembly
- Instagile.Model.dll
public sealed class RelationshipNodeModel : PropertyNodeModel, INotifyPropertyChanged, IOptionModel<Guid>, IOptionModel
- Inheritance
-
RelationshipNodeModel
- Implements
-
- Inherited Members
-
Fields
LabelOverride
public IProperty<string?> LabelOverride
Field Value
- IProperty<string>
Side
public readonly SideType Side
Field Value
- SideType
Properties
AdminOnly
public override IElement<bool> AdminOnly { get; }
Property Value
- IElement<bool>
Commands
public override ObservableCollection<EditorCommand> Commands { get; }
Property Value
- ObservableCollection<EditorCommand>
DisplayDoc
public MultiDoc DisplayDoc { get; }
Property Value
- MultiDoc
public override IElement<bool> DisplayForm { get; }
Property Value
- IElement<bool>
DisplayLabel
public IElement<string?> DisplayLabel { get; }
Property Value
- IElement<string>
DisplayList
public override IElement<bool> DisplayList { get; }
Property Value
- IElement<bool>
DisplaySearch
public override IElement<bool> DisplaySearch { get; }
Property Value
- IElement<bool>
FlagsDoc
public MultiDoc FlagsDoc { get; }
Property Value
- MultiDoc
IsCollection
public IElement<bool> IsCollection { get; }
Property Value
- IElement<bool>
IsInline
public MultiProperty<bool> IsInline { get; }
Property Value
- MultiProperty<bool>
IsLegacy
public override IElement<bool> IsLegacy { get; }
Property Value
- IElement<bool>
IsLocked
public override bool IsLocked { get; }
Property Value
- bool
IsRequired
public IElement<bool> IsRequired { get; }
Property Value
- IElement<bool>
IsSectioned
public MultiProperty<bool> IsSectioned { get; }
Property Value
- MultiProperty<bool>
ModelID
public string ModelID { get; }
Property Value
- string
Name
public override IElement<string> Name { get; }
Property Value
- IElement<string>
NameOverride
public IProperty<string?> NameOverride { get; }
Property Value
- IProperty<string>
Navigation
public IElement<IOptionModel<NavigationType>> Navigation { get; }
Property Value
- IElement<IOptionModel<NavigationType>>
NavigationTypes
public IProperty<ObservableCollection<IOptionModel<NavigationType>>?> NavigationTypes { get; }
Property Value
- IProperty<ObservableCollection<IOptionModel<NavigationType>>>
OtherSide
public RelationshipNodeModel OtherSide { get; }
Property Value
- RelationshipNodeModel
SyntaxType
public override SyntaxType SyntaxType { get; }
Property Value
- SyntaxType
Type
public IProperty<IOptionModel<Guid>> Type { get; }
Property Value
- IProperty<IOptionModel<Guid>>
TypeTypes
public IProperty<ObservableCollection<IOptionModel<Guid>>?> TypeTypes { get; }
Property Value
- IProperty<ObservableCollection<IOptionModel<Guid>>>
Methods
AsDescriptor()
public override PropertyDescriptor AsDescriptor()
Returns
- PropertyDescriptor
ContainsText(string)
public override bool ContainsText(string text)
Parameters
text string
Returns
- bool
CreatePair(AppNodeModel, Guid, Action<IEvent[]>, EventFactory, FeatureCollection, bool, Func<Guid, string, bool>, EntityNodeModel, EntityNodeModel, SectionNodeModel, SectionNodeModel, string, string, IOptionModel<Guid>, IOptionModel<Guid>, IOptionModel<NavigationType>, IOptionModel<NavigationType>)
public static (RelationshipNodeModel, RelationshipNodeModel) CreatePair(AppNodeModel root, Guid id, Action<IEvent[]> update, EventFactory factory, FeatureCollection features, bool requireConfirmDelete, Func<Guid, string, bool> doesEntityHaveSectionWithName, EntityNodeModel targetA, EntityNodeModel targetB, SectionNodeModel sectionA, SectionNodeModel sectionB, string initialNameA, string initialNameB, IOptionModel<Guid> initialTypeA, IOptionModel<Guid> initialTypeB, IOptionModel<NavigationType> initialNavA, IOptionModel<NavigationType> initialNavB)
Parameters
root AppNodeModel
id Guid
update Action<IEvent[]>
factory EventFactory
features FeatureCollection
requireConfirmDelete bool
doesEntityHaveSectionWithName Func<Guid, string, bool>
targetA EntityNodeModel
targetB EntityNodeModel
sectionA SectionNodeModel
sectionB SectionNodeModel
initialNameA string
initialNameB string
initialTypeA IOptionModel<Guid>
initialTypeB IOptionModel<Guid>
initialNavA IOptionModel<NavigationType>
initialNavB IOptionModel<NavigationType>
Returns
- (RelationshipNodeModel, RelationshipNodeModel)
ToString()
public override string ToString()
Returns
- string