C# Class StoryTeller.Counts

显示文件 Open project: storyteller/Storyteller Class Usage Examples

Public Methods

Method Description
Add ( Counts peer ) : void
AssertSuccess ( ) : void
Clone ( ) : Counts
Counts ( ) : Newtonsoft.Json
Counts ( int rights, int wrongs, int exceptions, int syntaxErrors ) : Newtonsoft.Json
Equals ( Counts obj ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
HasResult ( ) : bool
Increment ( ResultStatus status ) : void
Reset ( ) : void
ToString ( ) : string
WasSuccessful ( ) : bool

Method Details

Add() public method

public Add ( Counts peer ) : void
peer Counts
return void

AssertSuccess() public method

public AssertSuccess ( ) : void
return void

Clone() public method

public Clone ( ) : Counts
return Counts

Counts() public method

public Counts ( ) : Newtonsoft.Json
return Newtonsoft.Json

Counts() public method

public Counts ( int rights, int wrongs, int exceptions, int syntaxErrors ) : Newtonsoft.Json
rights int
wrongs int
exceptions int
syntaxErrors int
return Newtonsoft.Json

Equals() public method

public Equals ( Counts obj ) : bool
obj Counts
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

HasResult() public method

public HasResult ( ) : bool
return bool

Increment() public method

public Increment ( ResultStatus status ) : void
status ResultStatus
return void

Reset() public method

public Reset ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

WasSuccessful() public method

public WasSuccessful ( ) : bool
return bool