Class SerenityInstallableSystemSelection
Inheritance
SerenityInstallableSystemSelection
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public sealed class SerenityInstallableSystemSelection
Constructors
SerenityInstallableSystemSelection()
Declaration
public SerenityInstallableSystemSelection()
Methods
CanDeselect(SerenityInstallableSystem, IReadOnlyList<SerenityInstallableSystem>)
Declaration
public bool CanDeselect(SerenityInstallableSystem system, IReadOnlyList<SerenityInstallableSystem> catalog)
Parameters
Returns
Clear()
Declaration
IsSelected(SerenityInstallableSystem)
True when system is currently selected, or it installs at bootstrap
(which is always considered selected, independent of the underlying explicit selection).
Declaration
public bool IsSelected(SerenityInstallableSystem system)
Parameters
Returns
RequiredBy(SerenityInstallableSystem, IReadOnlyList<SerenityInstallableSystem>)
Every currently selected system, other than system itself, whose
transitive DependsOn closure includes it.
Declaration
public IReadOnlyList<SerenityInstallableSystem> RequiredBy(SerenityInstallableSystem system, IReadOnlyList<SerenityInstallableSystem> catalog)
Parameters
Returns
Select(SerenityInstallableSystem, IReadOnlyList<SerenityInstallableSystem>)
Selects system together with every system in its transitive
DependsOn closure, resolved against
catalog — a system can never be selected without what it requires.
Declaration
public void Select(SerenityInstallableSystem system, IReadOnlyList<SerenityInstallableSystem> catalog)
Parameters
SelectAll(IReadOnlyList<SerenityInstallableSystem>)
Selects every system in catalog, replacing the current selection.
Declaration
public void SelectAll(IReadOnlyList<SerenityInstallableSystem> catalog)
Parameters
SelectTier(IReadOnlyList<SerenityInstallableSystem>, SerenityInstallableSystemTier)
Replaces the current selection with every system in catalog whose
Tier is tier, together with each of
their transitive dependency closures — the "Foundation only" reset and the window's default
selection both call this with Foundation.
Declaration
public void SelectTier(IReadOnlyList<SerenityInstallableSystem> catalog, SerenityInstallableSystemTier tier)
Parameters
SelectedIn(IReadOnlyList<SerenityInstallableSystem>)
Every system in catalog that is currently selected, in catalog order.
Declaration
public IReadOnlyList<SerenityInstallableSystem> SelectedIn(IReadOnlyList<SerenityInstallableSystem> catalog)
Parameters
Returns
Toggle(SerenityInstallableSystem)
Declaration
public void Toggle(SerenityInstallableSystem system)
Parameters