Table of Contents

Class IDefinitionExtensions

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

Provides extensions methods for IDefinition.

public static class IDefinitionExtensions
Inheritance
IDefinitionExtensions
Inherited Members

Methods

TryOpenDefinition(IDefinition, IScriptShell, IEnumerable<IEditorFactory>)

Tries to open a IDefinition in the scriptShell.

public static void TryOpenDefinition(this IDefinition definition, IScriptShell scriptShell, IEnumerable<IEditorFactory> editorFactories)

Parameters

definition IDefinition

A reference definition.

scriptShell IScriptShell

Shell where the editor should showed.

editorFactories IEnumerable<IEditorFactory>

Factories to get the editor for the project item.

Exceptions

ArgumentNullException

Thrown when a argument is null.