private void ExecuteSilverlightTasks(TaskExecutionNode node) { var assemblyTaskProviders = UnitTestTaskProviderFactory.GetAssemblyTaskProviders(); var classTaskProviders = UnitTestTaskProviderFactory.GetClassTaskProviders(); var methodTaskProviders = UnitTestTaskProviderFactory.GetMethodTaskProviders(); var taskEnvironment = new TaskEnvironment(Server, assemblyTaskProviders, classTaskProviders, methodTaskProviders); var taskNode = new TaskNode(node, taskEnvironment); foreach (var silverlightTaskNode in taskNode.GetSilverlightTasks()) { silverlightTaskNode.Execute(Execute); } }
public override void ExecuteRecursive(TaskExecutionNode node) { //Debugger.Break(); var assemblyTaskProviders = UnitTestTaskProviderFactory.GetAssemblyTaskProviders(); var classTaskProviders = UnitTestTaskProviderFactory.GetClassTaskProviders(); var methodTaskProviders = UnitTestTaskProviderFactory.GetMethodTaskProviders(); var taskEnvironment = new TaskEnvironment(Server, assemblyTaskProviders, classTaskProviders, methodTaskProviders); var taskNode = new TaskNode(node, taskEnvironment); foreach (var silverlightTaskNode in taskNode.GetSilverlightTasks()) { silverlightTaskNode.Execute(Execute); } }