Class TagsModel
- Namespace
- The.Model.Editor
- Assembly
- Instagile.Model.dll
public sealed class TagsModel
- Inheritance
-
TagsModel
- Inherited Members
-
Constructors
public TagsModel(Action<string, string?> setTag)
Parameters
setTag Action<string, string>
Fields
public const string PseudoTag_CopySource = "The.Model.Editor.CopySource"
Field Value
- string
public const string PseudoTag_CopyTarget = "The.Model.Editor.CopyTarget"
Field Value
- string
public const string PseudoTag_ForeignKeySource = "The.Model.Editor.FKSource"
Field Value
- string
public const string PseudoTag_ForeignKeyTarget = "The.Model.Editor.FKTarget"
Field Value
- string
public const string PseudoTag_MergeSource = "The.Model.Editor.MergeSource"
Field Value
- string
public const string PseudoTag_MergeTarget = "The.Model.Editor.MergeTarget"
Field Value
- string
Properties
public ObservableCollection<EditorCommand> Commands { get; }
Property Value
- ObservableCollection<EditorCommand>
public IProperty<int> Count { get; }
Property Value
- IProperty<int>
public ObservableCollection<TagModel> KnownTags { get; }
Property Value
- ObservableCollection<TagModel>
public ObservableCollection<TagModel> OtherTags { get; }
Property Value
- ObservableCollection<TagModel>
Methods
public Optional<string> FindTagValue(string key)
Parameters
key string
Returns
- Optional<string>
public void Update(string key)
Parameters
key string
public void Update(string key, string value)
Parameters
key string
value string