IComponentInfo Interface

Describes a high level application component or an assembly.

Definition

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

Properties

Author Author of the component.
  • For high level application component the value is predefined.
  • For assembly the value is taken from AssemblyCompanyAttribute.
Description Description of the component.
Errors Collection of error messages which are associated with the component.
Obsolete.
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.
PublicGuid GUID of the component.
Title International (English) title of the component.
  • For high level application component the value is predefined.
  • For assembly the value is taken from AssemblyTitleAttribute.
Version Version of the component.

Methods

GetDescriptionOrErrors If the Errors collection is empty then returns Description, otherwise returns the error messages joined by errorSeparator.
Obsolete.
GetErrors Joins the messages in Errors collection by the specified separator.
Obsolete.
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.

See Also