C# Class CK.Core.ActivityLogGroupConclusion

Describes a conclusion emitted by a IActivityLoggerClientBase.
Datei anzeigen Open project: Invenietis/ck-core Class Usage Examples

Public Properties

Property Type Description
Tag CKTrait
Text string

Public Methods

Method Description
ActivityLogGroupConclusion ( string conclusion, CKTrait tag = null ) : System

Initializes a new conclusion for a group.

Equals ( object obj ) : bool

Explicit test for Text and Tag equality.

GetHashCode ( ) : int

Computes the hash code.

ToString ( ) : string

Overriden to return Text.

operator ( ) : bool

Equality operator definition.

Private Methods

Method Description
ActivityLogGroupConclusion ( CKTrait t, string conclusion ) : System

Method Details

ActivityLogGroupConclusion() public method

Initializes a new conclusion for a group.
public ActivityLogGroupConclusion ( string conclusion, CKTrait tag = null ) : System
conclusion string Must not be null (may be empty).
tag CKTrait Must be null or be registered in .
return System

Equals() public method

Explicit test for Text and Tag equality.
public Equals ( object obj ) : bool
obj object Object to test.
return bool

GetHashCode() public method

Computes the hash code.
public GetHashCode ( ) : int
return int

ToString() public method

Overriden to return Text.
public ToString ( ) : string
return string

operator() public static method

Equality operator definition.
public static operator ( ) : bool
return bool

Property Details

Tag public_oe property

The tag (never null). It may be combined but is often atomic like ActivityMonitor.Tags.UserConclusion, or ActivityMonitor.Tags.GetTextConclusion.
public CKTrait Tag
return CKTrait

Text public_oe property

The conclusion (never null).
public string Text
return string