Skip to content

Class TechnologySelection

Namespace: Cephalon.Abstractions.Technologies
Assembly: Cephalon.Abstractions.dll

Provides lookup helpers over selected and available technology profiles.

public sealed class TechnologySelection

objectTechnologySelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

selected IReadOnlyList<TechnologyDescriptor>

The technology profiles currently selected for the app.

catalog IReadOnlyList<TechnologyDescriptor>

The technology profiles available to the runtime.

Gets the technology profiles available to the runtime.

public IReadOnlyList<TechnologyDescriptor> Catalog { get; }

IReadOnlyList<TechnologyDescriptor>

Gets the technology profiles currently selected for the app.

public IReadOnlyList<TechnologyDescriptor> Selected { get; }

IReadOnlyList<TechnologyDescriptor>

Determines whether a technology is available in the runtime catalog.

public bool IsAvailable(string value)

value string

The technology identifier or display name to match.

bool

true when the technology is available; otherwise false.

Determines whether a technology is selected.

public bool IsSelected(string value)

value string

The technology identifier or display name to match.

bool

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)

value string

The technology identifier or display name to match.

technology TechnologyDescriptor

The resolved available technology when one is found.

bool

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)

value string

The technology identifier or display name to match.

technology TechnologyDescriptor

The resolved selected technology when one is found.

bool

true when the technology is selected; otherwise false.