CK.Core.ActivityMonitorGroupData.Initialize C# (CSharp) Method

Initialize() public method

Initializes this group data.
public Initialize ( string text, Exception exception, CKTrait tags, DateTimeStamp logTime, Func getConclusionText ) : void
text string Text of the log. Can be null or empty only if is not null: the is the text.
exception System.Exception Exception of the log. Can be null.
tags CKTrait Tags (from ) to associate to the log. It will be union-ed with the current .
logTime DateTimeStamp /// Time of the log. /// You may use or IActivityMonitor.NextLogTime() extension method. ///
getConclusionText Func Optional function that provides delayed obtention of the group conclusion: will be called on group closing.
return void
        public void Initialize( string text, Exception exception, CKTrait tags, DateTimeStamp logTime, Func<string> getConclusionText )
        {
            base.Initialize( text, exception, tags, logTime );
            _getConclusion = getConclusionText;
        }