Table of Contents

Class CadPluginApiAttribute

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

Says which version of the plugin API an assembly needs at least, as [assembly: CadPluginApi("1.0")]. The presenter refuses to load it, saying why, when its own ApiVersion is older. An assembly without one is taken as needing 1.0.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class CadPluginApiAttribute : Attribute
Inheritance
CadPluginApiAttribute
Inherited Members

Constructors

CadPluginApiAttribute(string)

Says the least version of the plugin API the assembly needs.

Properties

Version

Gets the least version of the plugin API the assembly needs, as written.