コード例 #1
0
ファイル: WorkContext.cs プロジェクト: khooversoft/Toolbox
 /// <summary>
 /// Default constructor for Empty
 /// </summary>
 public WorkContext()
 {
     Cv         = new CorrelationVector();
     Tag        = Tag.Empty;
     Properties = PropertyBag.Empty;
     EventLog   = new TelemetryLogNull();
     Dimensions = EventDimensions.Empty;
 }
コード例 #2
0
 /// <summary>
 /// Default construct
 /// </summary>
 public WorkContextBuilder()
 {
     Properties = new Dictionary <string, object>();
     Cv         = new CorrelationVector();
     Tag        = Tag.Empty;
     EventLog   = new TelemetryLogNull();
     Dimensions = new Dictionary <string, object>();
 }