Table of Contents

Class DontAutoLoadAttribute

Namespace
Fluxer.Net.Commands
Assembly
Fluxer.Net.dll

Prevents the marked module from being loaded automatically.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class DontAutoLoadAttribute : Attribute
Inheritance
object
Attribute
DontAutoLoadAttribute

Remarks

This attribute tells CommandService to ignore the marked module from being loaded automatically (e.g. the AddModulesAsync(Assembly, IServiceProvider) method). If a non-public module marked with this attribute is attempted to be loaded manually, the loading process will also fail.