Table of Contents

Class ExportsPlugin

Namespace
nadena.dev.ndmf

This attribute declares a plugin to be registered with NDMF.

[assembly: ExportsPlugin(typeof(MyPlugin))]

class MyPlugin : Plugin<MyPlugin> {
  // ...
}
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class ExportsPlugin : Attribute
Inheritance
ExportsPlugin
Inherited Members

Constructors

ExportsPlugin(Type)

public ExportsPlugin(Type pluginType)

Parameters

pluginType Type

Properties

PluginType

public Type PluginType { get; }

Property Value

Type