Gorgon
Show / Hide Table of Contents

Class PlugInAssemblyState

A record providing plug in state information.

Inheritance
object
PlugInAssemblyState
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.PlugIns
Assembly: Gorgon.Editor.API.dll
Syntax
public class PlugInAssemblyState

Constructors

| Edit this page View Source

PlugInAssemblyState(string, string, bool)

Initializes a new instance of the PlugInAssemblyState class.

Declaration
public PlugInAssemblyState(string pluginAssemblyPath, string loadFailure, bool isManaged)
Parameters
Type Name Description
string pluginAssemblyPath

The plugin assembly path.

string loadFailure

The reason why the assembly was not loaded.

bool isManaged

true if the assembly DLL is managed, false if not.

Exceptions
Type Condition
ArgumentNullException

Thrown when the pluginAssemblyPath is null.

ArgumentEmptyException

Thrownw hen the pluginAssemblyPath is empty.

Properties

| Edit this page View Source

IsAssemblyLoaded

Property to return whether the assembly was loaded.

Declaration
public bool IsAssemblyLoaded { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsManaged

Property to return whether the assembly is a managed assembly or not.

Declaration
public bool IsManaged { get; }
Property Value
Type Description
bool
| Edit this page View Source

LoadFailureReason

Property to return the reason why the assembly was not loaded.

Declaration
public string LoadFailureReason { get; }
Property Value
Type Description
string
| Edit this page View Source

Path

Property to returnt he path to the plug in.

Declaration
public string Path { get; }
Property Value
Type Description
string

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author