/// <summary> /// Constructs a new Virtual Machine instance. /// </summary> /// <param name="context">The VMContext instance to use.</param> public VM(VMContext context, VMNetDriver driver, VMHeadlineRendererProvider headline) { context.VM = this; this.Context = context; this.Driver = driver; Headline = headline; OnBHAVChange += VM_OnBHAVChange; }
public void ReplaceNet(VMNetDriver driver) { lock (Driver) { Driver = driver; } }
/// <summary> /// Constructs a new Virtual Machine instance. /// </summary> /// <param name="context">The VMContext instance to use.</param> public VM(VMContext context, VMNetDriver driver) { context.VM = this; this.Context = context; this.Driver = driver; }