Class PluginFeatureInfo
Represents basic info about a plugin feature and contains a reference to the instance of said feature
public class PluginFeatureInfo : IPrerequisitesSubject
- Inheritance
-
PluginFeatureInfo
- Implements
Properties
AlwaysEnabled
Marks the feature to always be enabled as long as the plugin is enabled and cannot be disabled.
Note: always true if this is the plugin's only feature
public bool AlwaysEnabled { get; }
Property Value
Description
A short description of the feature
public string? Description { get; }
Property Value
EnabledInStorage
Gets a boolean indicating whether the feature is enabled in persistent storage
public bool EnabledInStorage { get; }
Property Value
FeatureType
Gets the type of the feature
public Type FeatureType { get; }
Property Value
Instance
public PluginFeature? Instance { get; }
Property Value
LoadException
Gets the exception thrown while loading
public Exception? LoadException { get; }
Property Value
Name
The name of the feature
public string Name { get; }
Property Value
PlatformPrerequisites
Gets a list of prerequisites of the current platform for this plugin
public IEnumerable<PluginPrerequisite> PlatformPrerequisites { get; }
Property Value
Plugin
Gets the plugin this feature info is associated with
public Plugin Plugin { get; }
Property Value
Prerequisites
Gets a list of prerequisites for this plugin
public List<PluginPrerequisite> Prerequisites { get; }
Property Value
Methods
ArePrerequisitesMet()
Determines whether the prerequisites of this plugin are met
public bool ArePrerequisitesMet()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.