Table of Contents

Class IProjectViewModelExtensions

Namespace
Loehnert.Lisrt.Scripting.Project.ViewModels
Assembly
Loehnert.Lisrt.Scripting.dll

Extensions for the IProjectViewModel.

public static class IProjectViewModelExtensions
Inheritance
IProjectViewModelExtensions
Inherited Members

Methods

GetSelectedProjectItem(IProjectViewModel)

Get the selected IProjectItemViewModel.

public static IProjectItemViewModel GetSelectedProjectItem(this IProjectViewModel projectViewModel)

Parameters

projectViewModel IProjectViewModel

Project view model for start searching.

Returns

IProjectItemViewModel

The selected IProjectItemViewModel or null if no project is selected.

Exceptions

ArgumentNullException

Thrown when projectViewModel is null.