コード例 #1
0
ファイル: VSTelemetryRecorder.cs プロジェクト: chenrensong/T4
 public ITelemetryScope StartOperation(TelemetryIdentifier telemetryIdentifier, ITelemetryScope parentScope)
 {
     return(new VSTelemetryScope <OperationEvent>(TelemetrySessionExtensions.StartOperation(defaultSession, telemetryIdentifier.Value), telemetryIdentifier, this, parentScope));
 }
コード例 #2
0
ファイル: VSTelemetryRecorder.cs プロジェクト: chenrensong/T4
 public ITelemetryScope StartOperation(TelemetryIdentifier telemetryIdentifier, IEnumerable <DataPoint> properties, ITelemetryScope parentScope)
 {
     return(new VSTelemetryScope <OperationEvent>(TelemetrySessionExtensions.StartOperation(defaultSession, telemetryIdentifier.Value, (TelemetrySeverity)0, (IDictionary <string, object>)properties.ToDictionary((DataPoint dataPoint) => dataPoint.Identity.Value, (DataPoint dataPoint) => dataPoint.Value)), telemetryIdentifier, this, parentScope));
 }
コード例 #3
0
ファイル: VSTelemetryRecorder.cs プロジェクト: chenrensong/T4
 public ITelemetryScope StartUserTask(TelemetryIdentifier telemetryIdentifier)
 {
     return(new VSTelemetryScope <UserTaskEvent>(TelemetrySessionExtensions.StartUserTask(defaultSession, telemetryIdentifier.Value), telemetryIdentifier, this));
 }