Class TechnologySelection
Namespace: Cephalon.Abstractions.Technologies
Assembly: Cephalon.Abstractions.dll
Provides lookup helpers over selected and available technology profiles.
public sealed class TechnologySelectionInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TechnologySelection(IReadOnlyList<TechnologyDescriptor>, IReadOnlyList<TechnologyDescriptor>)
Section titled “ TechnologySelection(IReadOnlyList<TechnologyDescriptor>, IReadOnlyList<TechnologyDescriptor>)”Creates a technology-selection view.
public TechnologySelection(IReadOnlyList<TechnologyDescriptor> selected, IReadOnlyList<TechnologyDescriptor> catalog)Parameters
Section titled “Parameters”selected IReadOnlyList<TechnologyDescriptor>
The technology profiles currently selected for the app.
catalog IReadOnlyList<TechnologyDescriptor>
The technology profiles available to the runtime.
Properties
Section titled “Properties”Catalog
Section titled “ Catalog”Gets the technology profiles available to the runtime.
public IReadOnlyList<TechnologyDescriptor> Catalog { get; }Property Value
Section titled “Property Value”IReadOnlyList<TechnologyDescriptor>
Selected
Section titled “ Selected”Gets the technology profiles currently selected for the app.
public IReadOnlyList<TechnologyDescriptor> Selected { get; }Property Value
Section titled “Property Value”IReadOnlyList<TechnologyDescriptor>
Methods
Section titled “Methods”IsAvailable(string)
Section titled “ IsAvailable(string)”Determines whether a technology is available in the runtime catalog.
public bool IsAvailable(string value)Parameters
Section titled “Parameters”value string
The technology identifier or display name to match.
Returns
Section titled “Returns”true when the technology is available; otherwise false.
IsSelected(string)
Section titled “ IsSelected(string)”Determines whether a technology is selected.
public bool IsSelected(string value)Parameters
Section titled “Parameters”value string
The technology identifier or display name to match.
Returns
Section titled “Returns”true when the technology is selected; otherwise false.
TryGetAvailable(string, out TechnologyDescriptor)
Section titled “ TryGetAvailable(string, out TechnologyDescriptor)”Attempts to resolve one available technology from the runtime catalog.
public bool TryGetAvailable(string value, out TechnologyDescriptor technology)Parameters
Section titled “Parameters”value string
The technology identifier or display name to match.
technology TechnologyDescriptor
The resolved available technology when one is found.
Returns
Section titled “Returns”true when the technology is available; otherwise false.
TryGetSelected(string, out TechnologyDescriptor)
Section titled “ TryGetSelected(string, out TechnologyDescriptor)”Attempts to resolve one selected technology.
public bool TryGetSelected(string value, out TechnologyDescriptor technology)Parameters
Section titled “Parameters”value string
The technology identifier or display name to match.
technology TechnologyDescriptor
The resolved selected technology when one is found.