Table of Contents

Class IScriptShellExtensions

Namespace
Loehnert.Lisrt.Scripting.Shell
Assembly
Loehnert.Lisrt.Scripting.dll

Extension for a IScriptShell.

public static class IScriptShellExtensions
Inheritance
IScriptShellExtensions
Inherited Members

Methods

GetInProjectSelectedItemOrDefault(IScriptShell)

Gets the in IProjectViewModel selected IProjectItem or null.

public static IProjectItem GetInProjectSelectedItemOrDefault(this IScriptShell shell)

Parameters

shell IScriptShell

IScriptShell with a IProjectViewModel tool.

Returns

IProjectItem

The selected IProjectItem or null if there is no IProjectViewModel or nothing selected.