internal void CallCommand(CommandEventArgs e) { if (command.InvocationList != null) { command.InvocationList(this, e); } }
internal void RaiseTestSetup(string name) { if (testSetup.InvocationList != null) { testSetup.InvocationList(null, new TestSetupEventArgs() { Name = name }); } }
internal RenderEventArgs CallRender() { RenderEventArgs e = null; if (render.InvocationList != null) { e = new RenderEventArgs(); render.InvocationList(null, e); } return(e); }
internal void RaiseTestReady(string name) { if (testReady.InvocationList != null) { testReady.InvocationList(null, new TestReadyEventArgs() { Name = name, Root = realHost.LastGeneratedView as FrameworkElement }); } }