C# Class CK.Core.Tests.Monitoring.BuggyClient

Inheritance: IActivityMonitorClient
Exibir arquivo Open project: Invenietis/ck-core Class Usage Examples

Public Properties

Property Type Description
CreatedThreadId int
Failed bool
FailureHasBeenReceivedThroughEvent bool
NumClient int
RunThreadId int

Public Methods

Method Description
BuggyClient ( ThreadContext c, int numClient, double probFailPerCall = 0.2 ) : System
OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
OnGroupClosing ( IActivityLogGroup group, System &conclusions ) : void
OnOpenGroup ( IActivityLogGroup group ) : void
OnUnfilteredLog ( ActivityMonitorLogData data ) : void
ToString ( ) : string

Private Methods

Method Description
IActivityMonitorClient ( CKTrait newTrait ) : void
IActivityMonitorClient ( string newTopic, string fileName, int lineNumber ) : void
MayFail ( ) : void

Method Details

BuggyClient() public method

public BuggyClient ( ThreadContext c, int numClient, double probFailPerCall = 0.2 ) : System
c ThreadContext
numClient int
probFailPerCall double
return System

OnGroupClosed() public method

public OnGroupClosed ( IActivityLogGroup group, IReadOnlyList conclusions ) : void
group IActivityLogGroup
conclusions IReadOnlyList
return void

OnGroupClosing() public method

public OnGroupClosing ( IActivityLogGroup group, System &conclusions ) : void
group IActivityLogGroup
conclusions System
return void

OnOpenGroup() public method

public OnOpenGroup ( IActivityLogGroup group ) : void
group IActivityLogGroup
return void

OnUnfilteredLog() public method

public OnUnfilteredLog ( ActivityMonitorLogData data ) : void
data CK.Core.ActivityMonitorLogData
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

CreatedThreadId public_oe property

public int CreatedThreadId
return int

Failed public_oe property

public bool Failed
return bool

FailureHasBeenReceivedThroughEvent public_oe property

public bool FailureHasBeenReceivedThroughEvent
return bool

NumClient public_oe property

public int NumClient
return int

RunThreadId public_oe property

public int RunThreadId
return int