Class ModuleRenderFeatures
The module render features, by id, in their drawing order (ModuleRenderFeature).
public static class ModuleRenderFeatures
- Inheritance
-
ModuleRenderFeatures
- Inherited Members
Properties
Entries
The registered features, by order.
public static IReadOnlyList<ModuleRenderFeatures.Entry> Entries { get; }
Property Value
Version
Bumped whenever the registrations or a module's settings change: the hosts remake their features.
public static int Version { get; }
Property Value
Methods
Changed()
Tells the hosts a module's settings changed (an edit to its profile): they remake their features.
public static void Changed()
Register(string, int, Func<ModuleRenderFeature>)
Registers a feature; registering an id again replaces it (a module's installer runs on every domain load).
public static void Register(string id, int order, Func<ModuleRenderFeature> create)
Parameters
idstringorderintcreateFunc<ModuleRenderFeature>
Unregister(string)
Removes a feature by id.
public static void Unregister(string id)
Parameters
idstring