Table of Contents

Class Feature<TFeature>

Namespace
MonkeyLoader
Assembly
MonkeyLoader.dll

Contains static access to Feature instances and their properties.

public static class Feature<TFeature> where TFeature : Feature, new()

Type Parameters

TFeature

The feature to get the properties of.

Inheritance
Feature<TFeature>
Inherited Members

Properties

Assemblies

Gets the names of all assemblies that this feature is implemented in.

public static IEnumerable<AssemblyName> Assemblies { get; }

Property Value

IEnumerable<AssemblyName>

Assembly

Gets the name of the (main) assembly that this feature is implemented in.

public static AssemblyName Assembly { get; }

Property Value

AssemblyName

Description

Gets the description of the feature.

public static string Description { get; }

Property Value

string

Instance

Gets the cached instance of the feature.

public static TFeature Instance { get; }

Property Value

TFeature

Name

Gets the name of the feature.

public static string Name { get; }

Property Value

string

SpreadOverMultipleAssemblies

Gets whether this feature is spread over multiple assemblies, i.e. whether Assemblies.Count() is > 1.

public static bool SpreadOverMultipleAssemblies { get; }

Property Value

bool