EnvironmentSelectorT Class

Represents a selector to select the EnvironmentDto an item is a part of.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class EnvironmentSelector<T> : InputComponentBase<T>
where T : class, IIdLabel, IHasEnvironment, IHasCompany
Inheritance
Object    ComponentBase    InputComponentBaseT    EnvironmentSelectorT

Type Parameters

T
Model that contains a property for IHasEnvironment

Constructors

EnvironmentSelectorTInitializes a new instance of the EnvironmentSelectorT class

Properties

CurrentUser The currently logged-in user.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides InputComponentBaseTSetParametersAsync(ParameterView))

See Also