4 instantiations of VMStateTree
dotnet-MsiInstallation.Tests (4)
Framework\VirtualMachine.cs (3)
112
_vmState.VMStates[_vmState.DefaultRootState] = new
VMStateTree
()
197
var newState = new
VMStateTree
()
329
var resultingState = new
VMStateTree
Framework\VMStateTree.cs (1)
64
var tree = new
VMStateTree
()
16 references to VMStateTree
dotnet-MsiInstallation.Tests (16)
Framework\VirtualMachine.cs (10)
22
VMStateTree
_currentState;
23
VMStateTree
_currentAppliedState;
149
foreach (
var
state in _vmState.VMStates.Values.ToList())
161
void Recurse(
VMStateTree
node)
170
foreach (
var
result in node.Actions.Select(a => a.Value.resultingState))
179
if (_vmState.VMStates.TryGetValue(stateName, out
var
state))
197
var
newState = new VMStateTree()
329
var
resultingState = new VMStateTree
586
VMStateTree
_snapshot;
588
public VMSnapshot(VirtualMachine vm,
VMStateTree
snapshot)
Framework\VMStateTree.cs (6)
13
public Dictionary<SerializedVMAction, (VMActionResult actionResult,
VMStateTree
resultingState)> Actions { get; set; } = new();
62
public
VMStateTree
ToVMStateTree()
64
var
tree = new VMStateTree()
87
public Dictionary<string,
VMStateTree
> VMStates { get; set; } = new Dictionary<string,
VMStateTree
>();
98
public
VMStateTree
GetRootState()