Show / Hide Table of Contents

Class HydraViewModel

Hydra view model.

Inheritance
System.Object
ViewModelBase<HydraView>
TabItemViewModel<HydraView>
HydraViewModel
Implements
IViewInitialize
IHydraViewProvider
IViewProvider
IClosingNotification
Inherited Members
TabItemViewModel<HydraView>.FocusView()
TabItemViewModel<HydraView>.LogOnlyIfTabActive(String, String, Object[])
TabItemViewModel<HydraView>.LogOnlyIfTabActive(String, LogSeverity, String, Object[])
TabItemViewModel<HydraView>.LogOnlyIfTabActive(String, Guid, String, Object[])
TabItemViewModel<HydraView>.LogOnlyIfTabActive(String, Guid, LogSeverity, String, Object[])
TabItemViewModel<HydraView>.LoglineOnlyIfTabActive(String, String, Object[])
TabItemViewModel<HydraView>.LoglineOnlyIfTabActive(String, LogSeverity, String, Object[])
TabItemViewModel<HydraView>.LoglineOnlyIfTabActive(String, Guid, String, Object[])
TabItemViewModel<HydraView>.LoglineOnlyIfTabActive(String, Guid, LogSeverity, String, Object[])
TabItemViewModel<HydraView>.LogExceptionOnlyIfTabActive(String, LogSeverity, Exception)
TabItemViewModel<HydraView>.LogCriticalExceptionOnlyIfTabActive(String, Exception)
ViewModelBase<HydraView>.Closed
ViewModelBase<HydraView>.IsClosable
ViewModelBase<HydraView>.IsDockable
ViewModelBase<HydraView>.HeaderName
ViewModelBase<HydraView>.View
ViewModelBase<HydraView>.IViewProvider.View
ViewModelBase<HydraView>.EventAggregator
ViewModelBase<HydraView>.Logger
ViewModelBase<HydraView>.Closing(CancelEventArgs)
ViewModelBase<HydraView>.IViewInitialize.Initialize()
ViewModelBase<HydraView>.IViewInitialize.Uninitialize()
ViewModelBase<HydraView>.IClosingNotification.Closed(EventArgs)
ViewModelBase<HydraView>.OnClosing(CancelEventArgs)
ViewModelBase<HydraView>.OnClosed()
ViewModelBase<HydraView>.CloseView()
Namespace: Phoenix.Hydra
Assembly: Phoenix.Plugin.Hydra.dll
Syntax
public sealed class HydraViewModel : TabItemViewModel<HydraView>, IViewInitialize, IHydraViewProvider, IViewProvider, IClosingNotification

Constructors

View Source

HydraViewModel(HydraView, IWindowingControl, IEventAggregator, IPhoenixLogger)

Initializes a new instance of the HydraViewModel class.

Declaration
public HydraViewModel(HydraView view, IWindowingControl windowing, IEventAggregator eventAggregator, IPhoenixLogger logger)
Parameters
Type Name Description
HydraView view

The view for the view model.

IWindowingControl windowing
IEventAggregator eventAggregator

The event aggregator for the view model.

IPhoenixLogger logger

The logger for the view model.

Fields

View Source

Name

The tab header name.

Declaration
public const string Name = "Hydra"
Field Value
Type Description
System.String

Properties

View Source

CanRunHydra

Gets or sets a value indicating whether Hydra functionality can be used.

Declaration
public bool CanRunHydra { get; set; }
Property Value
Type Description
System.Boolean
View Source

CanStopLag

Gets or sets a value indicating whether the lag switch can be stopped.

Declaration
public bool CanStopLag { get; set; }
Property Value
Type Description
System.Boolean
View Source

ConstrainApplication

Gets the constrain application delegate command.

Declaration
public DelegateCommand ConstrainApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

ExportFromKitBrowse

Gets the export from kit browse delegate command.

Declaration
public DelegateCommand ExportFromKitBrowse { get; }
Property Value
Type Description
DelegateCommand
View Source

ExportFromKitExport

Gets the export from kit export delegate command.

Declaration
public DelegateCommand ExportFromKitExport { get; }
Property Value
Type Description
DelegateCommand
View Source

ExportSaveTo

Gets or sets the location to save a save file on your PC.

Declaration
public string ExportSaveTo { get; set; }
Property Value
Type Description
System.String
View Source

ForceIsChecked

Gets or sets a value indicating whether copying a save should be forced.

Declaration
public bool ForceIsChecked { get; set; }
Property Value
Type Description
System.Boolean
View Source

GetRunningApplication

Gets the get running application delegate command.

Declaration
public DelegateCommand GetRunningApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

GetRunningServiceId

Gets the get running SCID command.

Declaration
public DelegateCommand GetRunningServiceId { get; }
Property Value
Type Description
DelegateCommand
View Source

InBandwidthLimit

Gets or sets the desired in bandwidth limit.

Declaration
public string InBandwidthLimit { get; set; }
Property Value
Type Description
System.String
View Source

LagIntervalOff

Gets or sets the desired time to turn off network simulation.

Declaration
public string LagIntervalOff { get; set; }
Property Value
Type Description
System.String
View Source

LagIntervalOn

Gets or sets the desired time to turn on network simulation.

Declaration
public string LagIntervalOn { get; set; }
Property Value
Type Description
System.String
View Source

LagSwitchStart

Gets the lag switch start delegate command.

Declaration
public DelegateCommand LagSwitchStart { get; }
Property Value
Type Description
DelegateCommand
View Source

LagSwitchStop

Gets the lag switch stop delegate command.

Declaration
public DelegateCommand LagSwitchStop { get; }
Property Value
Type Description
DelegateCommand
View Source

LatencyMS

Gets or sets the desired latency for simulation.

Declaration
public string LatencyMS { get; set; }
Property Value
Type Description
System.String
View Source

NetworkSpeed

Gets or sets the desired network speed for simulation.

Declaration
public string NetworkSpeed { get; set; }
Property Value
Type Description
System.String
View Source

OutBandwidthLimit

Gets or sets the desired out bandwidth limit for simulation.

Declaration
public string OutBandwidthLimit { get; set; }
Property Value
Type Description
System.String
View Source

OutOfStorageStart

Gets the out of storage start delegate command.

Declaration
public DelegateCommand OutOfStorageStart { get; }
Property Value
Type Description
DelegateCommand
View Source

PacketLoss

Gets or sets the desired packet loss for simulation.

Declaration
public string PacketLoss { get; set; }
Property Value
Type Description
System.String
View Source

PushSaveFrom

Gets or sets the location to push a save from.

Declaration
public string PushSaveFrom { get; set; }
Property Value
Type Description
System.String
View Source

PushToKitBrowse

Gets the push to kit browse delegate command.

Declaration
public DelegateCommand PushToKitBrowse { get; }
Property Value
Type Description
DelegateCommand
View Source

PushToKitPush

Gets the push to kit push delegate command.

Declaration
public DelegateCommand PushToKitPush { get; }
Property Value
Type Description
DelegateCommand
View Source

RefreshApplications

Gets the refresh applications delegate command.

Declaration
public DelegateCommand RefreshApplications { get; }
Property Value
Type Description
DelegateCommand
View Source

ReleaseApplication

Gets the release (unconstrain) applications delegate command.

Declaration
public DelegateCommand ReleaseApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

ReplaceIsChecked

Gets or sets a value indicating whether a save file is to be replaced.

Declaration
public bool ReplaceIsChecked { get; set; }
Property Value
Type Description
System.Boolean
View Source

ReserveRemainingStart

Gets the reserve remaining start delegate command.

Declaration
public DelegateCommand ReserveRemainingStart { get; }
Property Value
Type Description
DelegateCommand
View Source

ResumeApplication

Gets the resume application delegate command.

Declaration
public DelegateCommand ResumeApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

RunningApp

Gets or sets a value indicating the currently running app.

Declaration
public string RunningApp { get; set; }
Property Value
Type Description
System.String
View Source

RunningAppUserModelId

Gets or sets a value indicating the AUMID of the currently running application

Declaration
public string RunningAppUserModelId { get; set; }
Property Value
Type Description
System.String
View Source

RunningServiceId

Gets or sets the SCID of the currently running application.

Declaration
public string RunningServiceId { get; set; }
Property Value
Type Description
System.String
View Source

SimulateNetwork

Gets or sets a value indicating whether or not to simulate network conditions.

Declaration
public bool SimulateNetwork { get; set; }
Property Value
Type Description
System.Boolean
View Source

SimulateNetworkStart

Gets the simulate network start delegate command.

Declaration
public DelegateCommand SimulateNetworkStart { get; }
Property Value
Type Description
DelegateCommand
View Source

SimulateUI

Gets or sets a value indicating whether or not to simulate UI latency.

Declaration
public bool SimulateUI { get; set; }
Property Value
Type Description
System.Boolean
View Source

SnapApplication

Gets the snap application delegate command.

Declaration
public DelegateCommand SnapApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

StartNetworkSpeed

Gets the start network speed delegate command.

Declaration
public DelegateCommand StartNetworkSpeed { get; }
Property Value
Type Description
DelegateCommand
View Source

StopNetworkSimulations

Gets the stop network simulation delegate command.

Declaration
public DelegateCommand StopNetworkSimulations { get; }
Property Value
Type Description
DelegateCommand
View Source

StorageSimulationStop

Gets the storage simulation stop delegate command.

Declaration
public DelegateCommand StorageSimulationStop { get; }
Property Value
Type Description
DelegateCommand
View Source

SuspendApplication

Gets the suspend application delegate command.

Declaration
public DelegateCommand SuspendApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

TerminateApplication

Gets the terminate application delegate command.

Declaration
public DelegateCommand TerminateApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

UnsnapApplication

Gets the unsnap application delegate command.

Declaration
public DelegateCommand UnsnapApplication { get; }
Property Value
Type Description
DelegateCommand
View Source

UseInBWLimit

Gets or sets a value indicating whether or not to simulate in bandwidth limits.

Declaration
public bool UseInBWLimit { get; set; }
Property Value
Type Description
System.Boolean
View Source

UseLatencyMS

Gets or sets a value indicating whether or not to simulate latency.

Declaration
public bool UseLatencyMS { get; set; }
Property Value
Type Description
System.Boolean
View Source

UseOutBWLimit

Gets or sets a value indicating whether or not to simulate out bandwidth limits.

Declaration
public bool UseOutBWLimit { get; set; }
Property Value
Type Description
System.Boolean
View Source

UsePacketLoss

Gets or sets a value indicating whether or not to simulate packet loss.

Declaration
public bool UsePacketLoss { get; set; }
Property Value
Type Description
System.Boolean

Methods

View Source

Initialize()

Initializes phoenix managed resources when all modules are loaded.

Declaration
protected override void Initialize()
Overrides
Phoenix.Views.ViewModelBase<Phoenix.Hydra.HydraView>.Initialize()
View Source

OnViewChanged(Object, DependencyPropertyChangedEventArgs)

Updates the logger with the active tabs.

Declaration
protected override void OnViewChanged(object sender, DependencyPropertyChangedEventArgs e)
Parameters
Type Name Description
System.Object sender

The tab being updated.

System.Windows.DependencyPropertyChangedEventArgs e

The tab's status (whether or not it is visible).

Overrides
Phoenix.Views.TabItemViewModel<Phoenix.Hydra.HydraView>.OnViewChanged(System.Object, System.Windows.DependencyPropertyChangedEventArgs)
View Source

Uninitialize()

Uninitializes phoenix managed resources when closed.

Declaration
protected override void Uninitialize()
Overrides
Phoenix.Views.ViewModelBase<Phoenix.Hydra.HydraView>.Uninitialize()

Implements

IViewInitialize
IHydraViewProvider
IViewProvider
IClosingNotification
  • View Source
In This Article
Back to top Generated by DocFX