IPluginAssembly Interface

Describes the main plug-in assembly which is loaded into memory.

Definition

Namespace: SMath.Extensibility
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
C#
public interface IPluginAssembly : IComponentInfo
Implements
IComponentInfo

Properties

Author Author of the component.
  • For high level application component the value is predefined.
  • For assembly the value is taken from AssemblyCompanyAttribute.

(Inherited from IComponentInfo)
ComponentInfo Information about the plug-in assembly which is filled when the plug-in is being loaded.
Description Description of the component.
(Inherited from IComponentInfo)
Errors Contains all error messages which are related to the plug-in.
FileName File name of the component.
  • For high level application component the value is an empty string.
  • For assembly the value is taken from Location.

(Inherited from IComponentInfo)
IsLoaded Determines whether the plug-in assembly is loaded into memory.
LoadOrder Zero-based index of the plug-in in the actual sequence of plug-in loading.
Metadata General information about the plug-in which is known prior to loading it.
PublicGuid GUID of the component.
(Inherited from IComponentInfo)
References List of referenced assemblies existing in the same folder.
Title International (English) title of the component.
  • For high level application component the value is predefined.
  • For assembly the value is taken from AssemblyTitleAttribute.

(Inherited from IComponentInfo)
Version Version of the component.
(Inherited from IComponentInfo)

Methods

GetDescriptionOrErrors If the Errors collection is empty then returns Description, otherwise returns the error messages joined by errorSeparator.
GetErrors Joins the messages in Errors collection by the specified separator.
(Inherited from IComponentInfo)
Obsolete.
GetLoadedTypes Retrieves all types from the loaded plug-in assembly. Throws InvalidOperationException unless the plug-in assembly is loaded.
IsSupportedVersion

Checks Version against the specified lower bound and determines whether the component described by this instance is supported.

Typical use cases are:

Plug-in this describes a plug-in and lowerBound is its minimal version which is recorded in the SMath Studio document.
Document this describes SMath Studio Core and lowerBound is its minimal version which is recorded in the SMath Studio document.


(Inherited from IComponentInfo)

See Also