Table of Contents

Class DefinitionsViewModel

Namespace
Loehnert.Lisrt.Scripting.Editor.File.ViewModels
Assembly
Loehnert.Lisrt.Scripting.dll

Represents a view model for a 'Go To Definition' tool, when multiple definitions available.

public class DefinitionsViewModel : ReferencesViewModel, IViewAware, IChild, ITool, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
ViewAware
Screen
DefinitionsViewModel
Implements
IViewAware
IChild
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

DefinitionsViewModel(IScriptShell, IEnumerable<IEditorFactory>)

Initializes a new instance of the DefinitionsViewModel class.

public DefinitionsViewModel(IScriptShell scriptShell, IEnumerable<IEditorFactory> editorFactories)

Parameters

scriptShell IScriptShell

Script shell where a reference is open.

editorFactories IEnumerable<IEditorFactory>

Factories to create an editor of ProjectItem.

Properties

ToolTitle

Gets a translated tool title. {0} is replaced by DefinitionsViewModel.

protected override ITranslation ToolTitle { get; }

Property Value

ITranslation