C# Class Data.CommonCmdletBase

Description of CommonCmdletBase.
Inheritance: PSTestLib.PSCmdletBase
Show file Open project: apetrovskiy/STUPS Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CommonCmdletBase ( ) : System.Management.Automation

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, System 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, System outputObjectCollection ) : void
BeforeWriteCollection ( PSCmdletBase cmdlet, object outputObjectCollection ) : void
BeforeWriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : void
BeginProcessing ( ) : void
CheckSingleObject ( PSCmdletBase cmdlet, object outputObject ) : bool
WriteErrorMethod010RunScriptBlocks ( PSCmdletBase cmdlet ) : void
WriteErrorMethod020SetTestResult ( PSCmdletBase cmdlet, ErrorRecord errorRecord ) : void
WriteErrorMethod030ChangeTimeoutSettings ( PSCmdletBase cmdlet, bool terminating ) : void
WriteErrorMethod040AddErrorToErrorList ( PSCmdletBase cmdlet, ErrorRecord errorRecord ) : void
WriteErrorMethod045OnErrorScreenshot ( PSCmdletBase cmdlet ) : void
WriteErrorMethod050OnErrorDelay ( PSCmdletBase cmdlet ) : void
WriteErrorMethod060OutputError ( PSCmdletBase cmdlet, ErrorRecord errorRecord, bool terminating ) : void
WriteErrorMethod070Report ( PSCmdletBase cmdlet ) : void
WriteLog ( LogLevels logLevel, ErrorRecord errorRecord ) : void
WriteLog ( LogLevels logLevel, string logRecord ) : void
WriteSingleError ( PSCmdletBase cmdlet, ErrorRecord errorRecord, bool terminating ) : void
WriteSingleObject ( PSCmdletBase cmdlet, object outputObject ) : 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, System outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection System
return void

AfterWriteCollection() protected method

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

AfterWriteSingleObject() protected method

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

BeforeWriteCollection() protected method

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

BeforeWriteCollection() protected method

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

BeforeWriteCollection() protected method

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

BeforeWriteCollection() protected method

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

BeforeWriteCollection() protected method

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

BeforeWriteCollection() protected method

protected BeforeWriteCollection ( PSCmdletBase cmdlet, System outputObjectCollection ) : void
cmdlet PSTestLib.PSCmdletBase
outputObjectCollection System
return void

BeforeWriteCollection() protected method

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

BeforeWriteSingleObject() protected method

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

BeginProcessing() protected method

protected BeginProcessing ( ) : void
return void

CheckSingleObject() protected method

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

CommonCmdletBase() public method

public CommonCmdletBase ( ) : System.Management.Automation
return System.Management.Automation

WriteErrorMethod010RunScriptBlocks() protected method

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

WriteErrorMethod020SetTestResult() protected method

protected WriteErrorMethod020SetTestResult ( PSCmdletBase cmdlet, ErrorRecord errorRecord ) : void
cmdlet PSTestLib.PSCmdletBase
errorRecord System.Management.Automation.ErrorRecord
return void

WriteErrorMethod030ChangeTimeoutSettings() protected method

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

WriteErrorMethod040AddErrorToErrorList() protected method

protected WriteErrorMethod040AddErrorToErrorList ( PSCmdletBase cmdlet, ErrorRecord errorRecord ) : void
cmdlet PSTestLib.PSCmdletBase
errorRecord System.Management.Automation.ErrorRecord
return void

WriteErrorMethod045OnErrorScreenshot() protected method

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

WriteErrorMethod050OnErrorDelay() protected method

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

WriteErrorMethod060OutputError() protected method

protected WriteErrorMethod060OutputError ( PSCmdletBase cmdlet, ErrorRecord errorRecord, bool terminating ) : void
cmdlet PSTestLib.PSCmdletBase
errorRecord System.Management.Automation.ErrorRecord
terminating bool
return void

WriteErrorMethod070Report() protected method

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

WriteLog() protected method

protected WriteLog ( LogLevels logLevel, ErrorRecord errorRecord ) : void
logLevel LogLevels
errorRecord System.Management.Automation.ErrorRecord
return void

WriteLog() protected method

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

WriteSingleError() protected method

protected WriteSingleError ( PSCmdletBase cmdlet, ErrorRecord errorRecord, bool terminating ) : void
cmdlet PSTestLib.PSCmdletBase
errorRecord System.Management.Automation.ErrorRecord
terminating bool
return void

WriteSingleObject() protected method

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