Class IDefinitionExtensions
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
IDefinitionA reference definition.
scriptShell
IScriptShellShell 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.