Class CrossCorrelationViewModel
A base class for objects of which the properties must be observable.
Inheritance
CrossCorrelationViewModel
Assembly: MOSAIC.dll
Syntax
public class CrossCorrelationViewModel : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging, IDisposable
Constructors
CrossCorrelationViewModel(CrossCorrelation)
Declaration
public CrossCorrelationViewModel(CrossCorrelation block)
Parameters
Fields
_block
Declaration
private readonly CrossCorrelation _block
Field Value
_blockStatus
Declaration
[ObservableProperty]
private BlockStatus _blockStatus
Field Value
_disposed
Declaration
Field Value
Properties
Block
Declaration
public CrossCorrelation Block { get; }
Property Value
BlockStatus
Declaration
[ExcludeFromCodeCoverage]
public BlockStatus BlockStatus { get; set; }
Property Value
BufferLen
Declaration
public int BufferLen { get; }
Property Value
ChannelOptions
Declaration
public IReadOnlyList<string> ChannelOptions { get; }
Property Value
MaxLag
Declaration
public int MaxLag { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
SelectedChannelOption1
Declaration
public string SelectedChannelOption1 { get; set; }
Property Value
SelectedChannelOption2
Declaration
public string SelectedChannelOption2 { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
OnBlockPropertyChanged(object?, PropertyChangedEventArgs)
Declaration
private void OnBlockPropertyChanged(object? sender, PropertyChangedEventArgs e)
Parameters
OnBlockStatusChanged(BlockStatus)
Declaration
private void OnBlockStatusChanged(BlockStatus value)
Parameters
| Type |
Name |
Description |
| BlockStatus |
value |
The new property value that was set.
|
OnBlockStatusChanged(BlockStatus, BlockStatus)
Declaration
private void OnBlockStatusChanged(BlockStatus oldValue, BlockStatus newValue)
Parameters
| Type |
Name |
Description |
| BlockStatus |
oldValue |
The previous property value that was replaced.
|
| BlockStatus |
newValue |
The new property value that was set.
|
OnBlockStatusChanging(BlockStatus)
Declaration
private void OnBlockStatusChanging(BlockStatus value)
Parameters
| Type |
Name |
Description |
| BlockStatus |
value |
The new property value being set.
|
OnBlockStatusChanging(BlockStatus, BlockStatus)
Declaration
private void OnBlockStatusChanging(BlockStatus oldValue, BlockStatus newValue)
Parameters
| Type |
Name |
Description |
| BlockStatus |
oldValue |
The previous property value that is being replaced.
|
| BlockStatus |
newValue |
The new property value being set.
|
Implements