Class DefinitionsViewModel
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
-
PropertyChangedBaseViewAwareScreenDefinitionsViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
DefinitionsViewModel(IScriptShell, IEnumerable<IEditorFactory>)
Initializes a new instance of the DefinitionsViewModel class.
public DefinitionsViewModel(IScriptShell scriptShell, IEnumerable<IEditorFactory> editorFactories)
Parameters
scriptShell
IScriptShellScript 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