Class TypeDataSelectorViewModel
- Assembly
 - Loehnert.Lisrt.TypeAndResult.dll
 
Represents a view model for selecting type data using a type data provider.
public class TypeDataSelectorViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
  - Inheritance
 - 
      
      PropertyChangedBaseTypeDataSelectorViewModel
 
- Implements
 - 
      INotifyPropertyChangedEx
 
- Inherited Members
 - 
    PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
 
Constructors
TypeDataSelectorViewModel(GeminiTypeDataModule)
Initializes a new instance of the TypeDataSelectorViewModel class.
public TypeDataSelectorViewModel(GeminiTypeDataModule module)
  Parameters
moduleGeminiTypeDataModuleGemini type data module.
Exceptions
- ArgumentNullException
 Thrown when
moduleis null.
Properties
FilterString
Gets or sets the string for filtering.
public string FilterString { get; set; }
  Property Value
FilteredTypes
Gets the filtered Types.
public ICollectionView FilteredTypes { get; }
  Property Value
IsBusy
Gets or sets a value indicating whether the module is busy.
public bool IsBusy { get; set; }
  Property Value
ProviderIsSelectable
Gets a value indicating whether type data providers can be selected.
public bool ProviderIsSelectable { get; }
  Property Value
Providers
Gets the type data providers, the user can choose.
public virtual IEnumerable<ITypeDataProvider> Providers { get; }
  Property Value
SelectedProvider
Gets or sets the selected provider.
[DoNotCheckEquality]
public virtual ITypeDataProvider SelectedProvider { get; set; }
  Property Value
SelectedType
Gets or sets the selected type.
public string SelectedType { get; set; }
  Property Value
Types
Gets the available types.
[DependsOn("SelectedProvider")]
public IEnumerable<string> Types { get; }
  Property Value
Methods
SetDefaultProvider()
Sets the provider to the default (DefaultProvider).
public virtual void SetDefaultProvider()