Class PluginDeclaration
A BepInEx plugin as its assembly declares it: [BepInPlugin] and the attributes BepInEx reads beside it.
public sealed record PluginDeclaration
- Inheritance
-
objectPluginDeclaration
Constructors
PluginDeclaration(string, string, string, string, IReadOnlyList<PluginDependency>, IReadOnlyList<string>, IReadOnlyList<string>)
A BepInEx plugin as its assembly declares it: [BepInPlugin] and the attributes BepInEx reads beside it.
public PluginDeclaration(string Guid, string Name, string Version, string Type, IReadOnlyList<PluginDependency> Dependencies, IReadOnlyList<string> Incompatibilities, IReadOnlyList<string> Processes)
Parameters
GuidstringNamestringVersionstringTypestringThe plugin class's full name.
DependenciesIReadOnlyList<PluginDependency>IncompatibilitiesIReadOnlyList<string>ProcessesIReadOnlyList<string>The
[BepInProcess]filters; empty loads in every process.
Properties
Dependencies
public IReadOnlyList<PluginDependency> Dependencies { get; init; }
Property Value
- IReadOnlyList<PluginDependency>
Guid
public string Guid { get; init; }
Property Value
- string
Incompatibilities
public IReadOnlyList<string> Incompatibilities { get; init; }
Property Value
- IReadOnlyList<string>
Name
public string Name { get; init; }
Property Value
- string
Processes
The [BepInProcess] filters; empty loads in every process.
public IReadOnlyList<string> Processes { get; init; }
Property Value
- IReadOnlyList<string>
Type
The plugin class's full name.
public string Type { get; init; }
Property Value
- string
Version
public string Version { get; init; }
Property Value
- string