Table of Contents

Class CompatibleWithContext

Namespace
nadena.dev.ndmf

This attribute is used to mark a class as compatible with a specific context. NDMF will not activate the context solely based on this attribute, but will avoid deactivating it if it is already active. This attribute also implicitly includes any dependencies of the specified context.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class CompatibleWithContext : Attribute
Inheritance
CompatibleWithContext
Inherited Members

Constructors

CompatibleWithContext(Type)

public CompatibleWithContext(Type extensionContext)

Parameters

extensionContext Type

Properties

ExtensionContext

public Type ExtensionContext { get; }

Property Value

Type