Class UnitBase
Syntax
public static class UnitBase
Properties
contextualUnitsExtensions
Declaration
public static NonNullableList<Func<GraphReference, IEnumerable<IUnitOption>>> contextualUnitsExtensions { get; }
Property Value
dynamicUnitsExtensions
Declaration
public static NonNullableList<Func<IEnumerable<IUnitOption>>> dynamicUnitsExtensions { get; }
Property Value
staticUnitsExtensions
Declaration
public static NonNullableList<Func<IEnumerable<IUnitOption>>> staticUnitsExtensions { get; }
Property Value
Methods
Build(Boolean)
Declaration
public static void Build(bool initialBuild = false)
Parameters
Type |
Name |
Description |
Boolean |
initialBuild |
|
GetScriptGuids(Type)
Declaration
public static IEnumerable<string> GetScriptGuids(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetScriptTypes(String)
Declaration
public static IEnumerable<Type> GetScriptTypes(string guid)
Parameters
Type |
Name |
Description |
String |
guid |
|
Returns
Rebuild()
Declaration
public static void Rebuild()
Subset(UnitOptionFilter, GraphReference)
Declaration
public static IEnumerable<IUnitOption> Subset(UnitOptionFilter filter, GraphReference reference)
Parameters
Returns
Update()
Declaration
public static void Update()
WithoutInheritedDuplicates<T>(IEnumerable<T>, Func<T, IUnitOption>, CancellationToken)
Declaration
public static IEnumerable<T> WithoutInheritedDuplicates<T>(this IEnumerable<T> items, Func<T, IUnitOption> optionSelector, CancellationToken cancellation)
Parameters
Returns
Type Parameters