C# Class UIAutomation.CommonCmdletBase

The CommonCmdletBase class in the top of cmdlet hierarchy.
Inheritance: PSTestLib.PSCmdletBase
ファイルを表示 Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CommonCmdletBase ( ) : System
WriteObject ( PSCmdletBase cmdlet, ArrayList outputObjectCollection ) : void
WriteObject ( PSCmdletBase cmdlet, ICollection outputObjectCollection ) : void
WriteObject ( PSCmdletBase cmdlet, IUiEltCollection outputObjectCollection ) : void
WriteObject ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
WriteObject ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
WriteObject ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
writeErrorToTheList ( ErrorRecord err ) : void

Protected Methods

Method Description
AfterWriteCollection ( PSCmdletBase cmdlet, ArrayList outputObjectCollection ) : void
AfterWriteCollection ( PSCmdletBase cmdlet, Hashtable outputObjectCollection ) : void
AfterWriteCollection ( PSCmdletBase cmdlet, ICollection outputObjectCollection ) : void
AfterWriteCollection ( PSCmdletBase cmdlet, IEnumerable outputObjectCollection ) : void
AfterWriteCollection ( PSCmdletBase cmdlet, IList outputObjectCollection ) : void
AfterWriteCollection ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
AfterWriteCollection ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
AfterWriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, ArrayList outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, Hashtable outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, ICollection outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, IEnumerable outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, IList outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
BeforeWriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
CheckSingleObject ( PSCmdletBase cmdlet, object outputObject ) : bool
EndProcessing ( ) : void
RunEventScriptBlocks ( HasControlInputCmdletBase cmdlet ) : void
RunOnErrorScriptBlocks ( HasScriptBlockCmdletBase cmdlet, object parameters ) : void
RunOnSleepScriptBlocks ( HasControlInputCmdletBase cmdlet, object parameters ) : void
RunOnSuccessScriptBlocks ( HasScriptBlockCmdletBase cmdlet, object parameters ) : void
RunWizardGetWindowScriptBlocks ( Wizard wizard, object parameters ) : bool
RunWizardStartScriptBlocks ( WizardCmdletBase cmdlet, Wizard wizard, object parameters ) : void
RunWizardStepScriptBlocks ( WizardCmdletBase cmdlet, WizardStep wizardStep, WizardStepActions whatToRun, object parameters ) : void
RunWizardStopScriptBlocks ( WizardCmdletBase cmdlet, Wizard wizard, object parameters, bool hereMustBeStopAction ) : void
SaveEventInput ( UIANET::System.Windows.Automation src, UIANET::System.Windows.Automation e, string programmaticName, bool infoAdded ) : void
SleepAndRunScriptBlocks ( HasControlInputCmdletBase cmdlet ) : void
WriteDebug ( CommonCmdletBase cmdlet, object obj ) : void
WriteDebug ( CommonCmdletBase cmdlet, string text ) : void
WriteErrorMethod010RunScriptBlocks ( PSCmdletBase cmdlet ) : void
WriteErrorMethod020SetTestResult ( PSCmdletBase cmdlet, ErrorRecord errorRecord ) : void
WriteErrorMethod030ChangeTimeoutSettings ( PSCmdletBase cmdlet, bool terminating ) : void
WriteErrorMethod040AddErrorToErrorList ( PSCmdletBase cmdlet, ErrorRecord err ) : void
WriteErrorMethod045OnErrorScreenshot ( PSCmdletBase cmdlet ) : void
WriteErrorMethod050OnErrorDelay ( PSCmdletBase cmdlet ) : void
WriteErrorMethod060OutputError ( PSCmdletBase cmdlet, ErrorRecord err, bool terminating ) : void
WriteErrorMethod070Report ( PSCmdletBase cmdlet ) : void
WriteInfo ( CommonCmdletBase cmdlet, string text ) : void
WriteLog ( LogLevels logLevel, ErrorRecord errorRecord ) : void
WriteLog ( LogLevels logLevel, string logRecord ) : void
WriteObjectMethod010CheckOutputObject ( object outputObject ) : bool
WriteObjectMethod020Highlight ( PSCmdletBase cmdlet, object outputObject ) : void
WriteObjectMethod030RunScriptBlocks ( PSCmdletBase cmdlet, object outputObject ) : void
WriteObjectMethod040SetTestResult ( PSCmdletBase cmdlet, object outputObject ) : void
WriteObjectMethod045OnSuccessScreenshot ( PSCmdletBase cmdlet, object outputObject ) : void
WriteObjectMethod050OnSuccessDelay ( PSCmdletBase cmdlet, object outputObject ) : void
WriteObjectMethod060OutputResult ( PSCmdletBase cmdlet, object outputObject ) : void
WriteObjectMethod070Report ( PSCmdletBase cmdlet, object outputObject ) : void
WriteSingleError ( PSCmdletBase cmdlet, ErrorRecord errorRecord, bool terminating ) : void
WriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
WriteWarn ( CommonCmdletBase cmdlet, string text ) : void

Method Details

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, ArrayList outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection System.Collections.ArrayList
return void

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, Hashtable outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection System.Collections.Hashtable
return void

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, ICollection outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection ICollection
return void

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, IEnumerable outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection IEnumerable
return void

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, IList outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection IList
return void

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection List
return void

AfterWriteCollection() protected method

protected AfterWriteCollection ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection object
return void

AfterWriteSingleObject() protected method

protected AfterWriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, ArrayList outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection ArrayList
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, Hashtable outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection Hashtable
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, ICollection outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection ICollection
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, IEnumerable outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection IEnumerable
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, IList outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection IList
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection List
return void

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection object
return void

BeforeWriteSingleObject() protected method

protected BeforeWriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

CheckSingleObject() protected method

protected CheckSingleObject ( PSCmdletBase cmdlet, object outputObject ) : bool
cmdlet PSCmdletBase
outputObject object
return bool

CommonCmdletBase() public method

public CommonCmdletBase ( ) : System
return System

EndProcessing() protected method

protected EndProcessing ( ) : void
return void

RunEventScriptBlocks() protected method

protected RunEventScriptBlocks ( HasControlInputCmdletBase cmdlet ) : void
cmdlet HasControlInputCmdletBase
return void

RunOnErrorScriptBlocks() protected method

protected RunOnErrorScriptBlocks ( HasScriptBlockCmdletBase cmdlet, object parameters ) : void
cmdlet HasScriptBlockCmdletBase
parameters object
return void

RunOnSleepScriptBlocks() protected method

protected RunOnSleepScriptBlocks ( HasControlInputCmdletBase cmdlet, object parameters ) : void
cmdlet HasControlInputCmdletBase
parameters object
return void

RunOnSuccessScriptBlocks() protected method

protected RunOnSuccessScriptBlocks ( HasScriptBlockCmdletBase cmdlet, object parameters ) : void
cmdlet HasScriptBlockCmdletBase
parameters object
return void

RunWizardGetWindowScriptBlocks() protected method

protected RunWizardGetWindowScriptBlocks ( Wizard wizard, object parameters ) : bool
wizard Wizard
parameters object
return bool

RunWizardStartScriptBlocks() protected method

protected RunWizardStartScriptBlocks ( WizardCmdletBase cmdlet, Wizard wizard, object parameters ) : void
cmdlet WizardCmdletBase
wizard Wizard
parameters object
return void

RunWizardStepScriptBlocks() protected method

protected RunWizardStepScriptBlocks ( WizardCmdletBase cmdlet, WizardStep wizardStep, WizardStepActions whatToRun, object parameters ) : void
cmdlet WizardCmdletBase
wizardStep WizardStep
whatToRun WizardStepActions
parameters object
return void

RunWizardStopScriptBlocks() protected method

protected RunWizardStopScriptBlocks ( WizardCmdletBase cmdlet, Wizard wizard, object parameters, bool hereMustBeStopAction ) : void
cmdlet WizardCmdletBase
wizard Wizard
parameters object
hereMustBeStopAction bool
return void

SaveEventInput() protected method

protected SaveEventInput ( UIANET::System.Windows.Automation src, UIANET::System.Windows.Automation e, string programmaticName, bool infoAdded ) : void
src UIANET::System.Windows.Automation
e UIANET::System.Windows.Automation
programmaticName string
infoAdded bool
return void

SleepAndRunScriptBlocks() protected method

protected SleepAndRunScriptBlocks ( HasControlInputCmdletBase cmdlet ) : void
cmdlet HasControlInputCmdletBase
return void

WriteDebug() protected method

protected WriteDebug ( CommonCmdletBase cmdlet, object obj ) : void
cmdlet CommonCmdletBase
obj object
return void

WriteDebug() protected method

protected WriteDebug ( CommonCmdletBase cmdlet, string text ) : void
cmdlet CommonCmdletBase
text string
return void

WriteErrorMethod010RunScriptBlocks() protected method

protected WriteErrorMethod010RunScriptBlocks ( PSCmdletBase cmdlet ) : void
cmdlet PSCmdletBase
return void

WriteErrorMethod020SetTestResult() protected method

protected WriteErrorMethod020SetTestResult ( PSCmdletBase cmdlet, ErrorRecord errorRecord ) : void
cmdlet PSCmdletBase
errorRecord ErrorRecord
return void

WriteErrorMethod030ChangeTimeoutSettings() protected method

protected WriteErrorMethod030ChangeTimeoutSettings ( PSCmdletBase cmdlet, bool terminating ) : void
cmdlet PSCmdletBase
terminating bool
return void

WriteErrorMethod040AddErrorToErrorList() protected method

protected WriteErrorMethod040AddErrorToErrorList ( PSCmdletBase cmdlet, ErrorRecord err ) : void
cmdlet PSCmdletBase
err ErrorRecord
return void

WriteErrorMethod045OnErrorScreenshot() protected method

protected WriteErrorMethod045OnErrorScreenshot ( PSCmdletBase cmdlet ) : void
cmdlet PSCmdletBase
return void

WriteErrorMethod050OnErrorDelay() protected method

protected WriteErrorMethod050OnErrorDelay ( PSCmdletBase cmdlet ) : void
cmdlet PSCmdletBase
return void

WriteErrorMethod060OutputError() protected method

protected WriteErrorMethod060OutputError ( PSCmdletBase cmdlet, ErrorRecord err, bool terminating ) : void
cmdlet PSCmdletBase
err ErrorRecord
terminating bool
return void

WriteErrorMethod070Report() protected method

protected WriteErrorMethod070Report ( PSCmdletBase cmdlet ) : void
cmdlet PSCmdletBase
return void

WriteInfo() protected method

protected WriteInfo ( CommonCmdletBase cmdlet, string text ) : void
cmdlet CommonCmdletBase
text string
return void

WriteLog() protected method

protected WriteLog ( LogLevels logLevel, ErrorRecord errorRecord ) : void
logLevel LogLevels
errorRecord ErrorRecord
return void

WriteLog() protected method

protected WriteLog ( LogLevels logLevel, string logRecord ) : void
logLevel LogLevels
logRecord string
return void

WriteObject() public method

public WriteObject ( PSCmdletBase cmdlet, ArrayList outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection ArrayList
return void

WriteObject() public method

public WriteObject ( PSCmdletBase cmdlet, ICollection outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection ICollection
return void

WriteObject() public method

public WriteObject ( PSCmdletBase cmdlet, IUiEltCollection outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection IUiEltCollection
return void

WriteObject() public method

public WriteObject ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection List
return void

WriteObject() public method

public WriteObject ( PSCmdletBase cmdlet, List outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection List
return void

WriteObject() public method

public WriteObject ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
cmdlet PSCmdletBase
outputObjectCollection object
return void

WriteObjectMethod010CheckOutputObject() protected method

protected WriteObjectMethod010CheckOutputObject ( object outputObject ) : bool
outputObject object
return bool

WriteObjectMethod020Highlight() protected method

protected WriteObjectMethod020Highlight ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteObjectMethod030RunScriptBlocks() protected method

protected WriteObjectMethod030RunScriptBlocks ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteObjectMethod040SetTestResult() protected method

protected WriteObjectMethod040SetTestResult ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteObjectMethod045OnSuccessScreenshot() protected method

protected WriteObjectMethod045OnSuccessScreenshot ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteObjectMethod050OnSuccessDelay() protected method

protected WriteObjectMethod050OnSuccessDelay ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteObjectMethod060OutputResult() protected method

protected WriteObjectMethod060OutputResult ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteObjectMethod070Report() protected method

protected WriteObjectMethod070Report ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteSingleError() protected method

protected WriteSingleError ( PSCmdletBase cmdlet, ErrorRecord errorRecord, bool terminating ) : void
cmdlet PSCmdletBase
errorRecord ErrorRecord
terminating bool
return void

WriteSingleObject() protected method

protected WriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
cmdlet PSCmdletBase
outputObject object
return void

WriteWarn() protected method

protected WriteWarn ( CommonCmdletBase cmdlet, string text ) : void
cmdlet CommonCmdletBase
text string
return void

writeErrorToTheList() public method

public writeErrorToTheList ( ErrorRecord err ) : void
err ErrorRecord
return void