Class StandaloneHost
Inheritance
System.Object
StandaloneHost
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class StandaloneHost : IUIProject
Constructors
Declaration
public StandaloneHost(bool fullHost)
Parameters
Properties
Declaration
public IContainer AppContainer { get; }
Property Value
Declaration
public bool AreResultsLoaded { get; }
Property Value
Declaration
public ICodeService CodeService { get; }
Property Value
Implements
Declaration
public bool CommandLineRun { get; set; }
Property Value
Declaration
public ContainerBuilder ContainerBuilder { get; }
Property Value
Declaration
public IElementsExplorer ElementsExplorer { get; set; }
Property Value
Implements
Declaration
public IUserInteractionService InteractionService { get; }
Property Value
Implements
Declaration
public bool IsStarted { get; }
Property Value
Declaration
public Window OwnerWindow { get; set; }
Property Value
Declaration
public bool PersistOnEachStep { get; set; }
Property Value
Declaration
public ResultsViewerControl ResultViewer { get; set; }
Property Value
Declaration
public ILifetimeScope ScopedContainer { get; }
Property Value
Implements
Declaration
public Project SelectedProject { get; }
Property Value
Implements
Declaration
public TestListsExplorerController TestListsController { get; set; }
Property Value
Declaration
public IHostInteraction UIInteraction { get; }
Property Value
Implements
Methods
Declaration
public void AddCodedFunction(Test test, AutomationStep step, string functionContent, bool positionCodedStep)
Parameters
|
Test
test
|
|
AutomationStep
step
|
|
System.String
functionContent
|
|
System.Boolean
positionCodedStep
|
Implements
Declaration
public void AddFile(string location)
Parameters
Implements
Declaration
public void AddProjectReference(Project project, string assemblyFullName)
Parameters
|
Project
project
|
|
System.String
assemblyFullName
|
Implements
Declaration
public void AssignCodeService(ICodeService codeService)
Parameters
Implements
Declaration
public void AssignHostInteraction(IHostInteraction hostInteraction)
Parameters
Implements
Declaration
public CompilerResults BuildProject(Project project, bool skipInDevelopment)
Parameters
|
Project
project
|
|
System.Boolean
skipInDevelopment
|
Returns
|
System.CodeDom.Compiler.CompilerResults
|
Implements
Declaration
public Test CreateTest(string path, Test sourceTest)
Parameters
|
System.String
path
|
|
Test
sourceTest
|
Returns
Implements
Declaration
public bool DisplayLanguageSelector(Project project)
Parameters
Returns
Implements
Declaration
public List<string> GetCodedFunctions(Test test, out string parsingError)
Parameters
|
Test
test
|
|
System.String
parsingError
|
Returns
|
System.Collections.Generic.List<System.String>
|
Implements
Declaration
public string GetDefaultNewProjectName()
Returns
Declaration
public string GetDefaultProjectLocation()
Returns
Declaration
public static string[] GetKnownProjectFolderFileTypesToIgnore()
Returns
Declaration
public string GetOutputFileName(string testPath)
Parameters
Returns
Implements
Declaration
public string GetOutputFolder(string testPath)
Parameters
Returns
Implements
Declaration
public ILifetimeScope GetProjectScope(string projectPath)
Parameters
|
System.String
projectPath
|
Returns
Implements
Declaration
public string GetSpecialFolder(Project project, SpecialFolders folder)
Parameters
Returns
Implements
Declaration
public List<string> GetTestNames(Project proj)
Parameters
Returns
|
System.Collections.Generic.List<System.String>
|
Implements
Declaration
public void LoadTestListsIfNone()
Declaration
public void LogMessage(string message, bool includeTimestamp)
Parameters
|
System.String
message
|
|
System.Boolean
includeTimestamp
|
Implements
Declaration
public void OnProjectDirtied(string projectPath)
Parameters
|
System.String
projectPath
|
Implements
Declaration
public void OpenTest(TestBase test)
Parameters
Declaration
public bool PrepareToExecuteTest(Test test, bool doDisplayErrors = true)
Parameters
|
Test
test
|
|
System.Boolean
doDisplayErrors
|
Returns
Implements
Declaration
public bool PromptAndSaveFiles(object dirtyNodesObject)
Parameters
|
System.Object
dirtyNodesObject
|
Returns
Implements
Declaration
public void ReBuildContainer()
Declaration
public void RemoveProjectReference(Project project, string assemblyFullName)
Parameters
|
Project
project
|
|
System.String
assemblyFullName
|
Implements
Declaration
public void SetHostStatus(string text)
Parameters
Implements
Declaration
public void SetHostStatus(string text, bool showProgressBar)
Parameters
|
System.String
text
|
|
System.Boolean
showProgressBar
|
Implements
Declaration
public void ShowTestCodeFile(Test test, IStepViewModel step)
Parameters
Implements
Declaration
public void UpdateCodedStepContent(AutomationStep automationStep)
Parameters
Implements
Events
Declaration
public event Action AllRunResultsDeleted
Event Type
Declaration
public event Action BeforeLightProjectLoad
Event Type
Declaration
public event Action<string> BranchChanged
Event Type
|
System.Action<System.String>
|
Declaration
public event Action<LightCodeFile> CodeFileDeleted
Event Type
Declaration
public event Action<LightCodeFile> CodeFileExcluded
Event Type
Declaration
public event EventHandler<RenameEventArg> CodeFileRenamed
Event Type
Declaration
public event Action CodeFilesReverted
Event Type
Declaration
public event Action<LightFolder> CodeFolderExcluded
Event Type
Declaration
public event Action ElementsLoaded
Event Type
Declaration
public event Action<Project> LightProjectLoaded
Event Type
Declaration
public event Action<LightTest> LightTestOpened
Event Type
Declaration
public event Action LightTestsLoaded
Event Type
Declaration
public event EventHandler<ProjectClosedEventArg> ProjectClosed
Event Type
Implements
Declaration
public event EventHandler<ProjectClosedEventArg> ProjectClosing
Event Type
Implements
Declaration
public event EventHandler<ProjectEventArgs> ProjectCreated
Event Type
Implements
Declaration
public event EventHandler<ProjectEventArgs> ProjectOpened
Event Type
Implements
Declaration
public event EventHandler<RenameEventArg> ProjectRenamed
Event Type
Implements
Declaration
public event EventHandler<ProjectEventArgs> ProjectSaved
Event Type
Implements
Declaration
public event EventHandler<ProjectEventArgs> ProjectSelected
Event Type
Implements
Declaration
public event EventHandler<RunResultNodeEventArgs> ResultChanged
Event Type
Declaration
public event EventHandler<ResultsLoadedEventArgs> ResultsLoaded
Event Type
Declaration
public event EventHandler<RunResultNodeEventArgs> ResultViewerAppointmentSelectionChanged
Event Type
Declaration
public event EventHandler<LightRunResultEventArgs> RunResultDeleted
Event Type
Declaration
public event Action SchedulingConnectionStateChanged
Event Type
Declaration
public event Action ScopeContainerDisposed
Event Type
Declaration
public event Action ScopeContainerInitilized
Event Type
Declaration
public event Action<string> SourceControlConnected
Event Type
|
System.Action<System.String>
|
Declaration
public event EventHandler<TestEventArg> TestClosed
Event Type
Implements
Declaration
public event EventHandler<DeleteTestEventArg> TestDeleted
Event Type
Declaration
public event Action<LightTest> TestExcluded
Event Type
Declaration
public event Action<TestListNode, int> TestListCreated
Event Type
Declaration
public event EventHandler<TestListNodeEventArg> TestListDeleted
Event Type
Declaration
public event EventHandler<EventArgs> TestListExecutionCompleted
Event Type
|
System.EventHandler<System.EventArgs>
|
Declaration
public event EventHandler<EventArgs> TestListExecutionStarted
Event Type
|
System.EventHandler<System.EventArgs>
|
Declaration
public event EventHandler<TestListNodeEventArg> TestListSelectionChanged
Event Type
Declaration
public event EventHandler<TestListNodeCollectionEventArgs> TestListsLoaded
Event Type
Declaration
public event Action<TestBase> TestOpen
Event Type
Declaration
public event Action<TestBase> TestOpening
Event Type
Declaration
public event EventHandler<TestPropertyChangedEventArgs> TestPropertyChanged
Event Type
Declaration
public event Action<LightTest> TestReloaded
Event Type
Declaration
public event EventHandler<RenameEventArg> TestRenamed
Event Type
Declaration
public event EventHandler<TestEventArg> TestSaved
Event Type
Implements
Declaration
public event EventHandler<TestEventArg> TestSaving
Event Type
Declaration
public event EventHandler<TestEventArg> TestSelected
Event Type
Implements