Пример #1
0
        public EntryViewModel(ResourceMapEntry resourceMapEntry)
        {
            ResourceMapEntry = resourceMapEntry;
            Type             = resourceMapEntry is ResourceMapScope ? EntryType.Scope : EntryType.Item;

            Children = new ObservableCollection <EntryViewModel>();
        }
Пример #2
0
 public StringEntryViewModel(ResourceMapEntry resourceMapEntry, string name) : base(resourceMapEntry)
 {
     Name = name;
     Icon = "/Assets/blue-document-attribute-s.png";
 }