Class PluginPriorityComparer
Comparator implementation according to plugin priorities.
public sealed class PluginPriorityComparer : IComparer<IPlugin<IConfig>>
- Inheritance
-
PluginPriorityComparer
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Public instance.
public static readonly PluginPriorityComparer Instance
Field Value
Methods
Compare(IPlugin<IConfig>, IPlugin<IConfig>)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
public int Compare(IPlugin<IConfig> x, IPlugin<IConfig> y)
Parameters
Returns
- int
A signed integer that indicates the relative values of
xandy, as shown in the following table.
ValueMeaning
Less than zero
xis less thany.Zero
xequalsy.Greater than zero
xis greater thany.