Class AppNodeModel
- Namespace
- The.Model.Editor
- Assembly
- Instagile.Model.dll
public sealed class AppNodeModel : NodeModelBase, INotifyPropertyChanged
- Inheritance
-
AppNodeModel
- Implements
-
- Inherited Members
-
Constructors
AppNodeModel(Action<IEvent[]>, EventFactory, Func<IDialogHost, Task>, Func<Task>, FeatureCollection, int, IVisitor<EventModel>)
public AppNodeModel(Action<IEvent[]> update, EventFactory factory, Func<IDialogHost, Task> nameCurrentVersion, Func<Task> optimizeVersions, FeatureCollection features, int modelVersion, IVisitor<EventModel> describer)
Parameters
update Action<IEvent[]>
factory EventFactory
nameCurrentVersion Func<IDialogHost, Task>
optimizeVersions Func<Task>
features FeatureCollection
modelVersion int
describer IVisitor<EventModel>
Properties
AttributeCount
public IProperty<int> AttributeCount { get; }
Property Value
- IProperty<int>
Commands
public override ObservableCollection<EditorCommand> Commands { get; }
Property Value
- ObservableCollection<EditorCommand>
ConstrainLegacyRelationships
public IElement<bool> ConstrainLegacyRelationships { get; }
Property Value
- IElement<bool>
EmptyText
public IElement<string?> EmptyText { get; }
Property Value
- IElement<string>
EnforceNonNullability
public IElement<bool> EnforceNonNullability { get; }
Property Value
- IElement<bool>
EntityCount
public IProperty<int> EntityCount { get; }
Property Value
- IProperty<int>
EventDescriptions
public IProperty<IList<EventModel>> EventDescriptions { get; }
Property Value
- IProperty<IList<EventModel>>
FeatureDoc
public MultiDoc FeatureDoc { get; }
Property Value
- MultiDoc
Features
public ObservableCollection<IElement<bool>> Features { get; }
Property Value
- ObservableCollection<IElement<bool>>
FlagsDoc
public MultiDoc FlagsDoc { get; }
Property Value
- MultiDoc
IsLegacy
public override IElement<bool> IsLegacy { get; }
Property Value
- IElement<bool>
LatestSequenceNumber
public IProperty<uint> LatestSequenceNumber { get; }
Property Value
- IProperty<uint>
LatestVersionName
public IProperty<string?> LatestVersionName { get; }
Property Value
- IProperty<string>
ModelVersion
public IProperty<int> ModelVersion { get; }
Property Value
- IProperty<int>
Name
public override IElement<string> Name { get; }
Property Value
- IElement<string>
RootNode
public override AppNodeModel RootNode { get; }
Property Value
- AppNodeModel
SelectedNode
public IProperty<NodeModelBase> SelectedNode { get; }
Property Value
- IProperty<NodeModelBase>
Versions
public ObservableCollection<VersionModel> Versions { get; }
Property Value
- ObservableCollection<VersionModel>
Methods
SetEvents(IReadOnlyList<IEvent>)
public void SetEvents(IReadOnlyList<IEvent> newHistory)
Parameters
newHistory IReadOnlyList<IEvent>