10 instantiations of TelemetryEntryFormat
dotnet (9)
Telemetry\AllowListToSendFirstAppliedOptions.cs (1)
28
result.Add(new
TelemetryEntryFormat
(
Telemetry\AllowListToSendFirstArgument.cs (1)
32
result.Add(new
TelemetryEntryFormat
(
Telemetry\AllowListToSendVerbSecondVerbFirstArgument.cs (1)
29
result.Add(new
TelemetryEntryFormat
(
Telemetry\TelemetryFilter.cs (5)
30
return Hash([new
TelemetryEntryFormat
("install/reportsuccess", reportProperties)]);
40
return Hash([new
TelemetryEntryFormat
(ExceptionEventName, exceptionProperties)]);
57
yield return new
TelemetryEntryFormat
("toplevelparser/command", properties);
67
yield return new
TelemetryEntryFormat
("sublevelparser/command", verbosityProperties);
80
yield return new
TelemetryEntryFormat
("sublevelparser/command", vulnerableProperties);
Telemetry\TopLevelCommandNameAndOptionToLog.cs (1)
29
result.Add(new
TelemetryEntryFormat
(
Microsoft.DotNet.Cli.Utils (1)
TelemetryEventEntry.cs (1)
76
return new
TelemetryEntryFormat
(EventName, appliedProperties);
30 references to TelemetryEntryFormat
dotnet (18)
Commands\Hidden\InternalReportInstallSuccess\InternalReportInstallSuccessCommand.cs (1)
32
foreach (
var
e in filter.Filter(new InstallerSuccessReport(exeName)))
Telemetry\AllowListToSendFirstAppliedOptions.cs (2)
17
public List<
TelemetryEntryFormat
> AllowList(ParseResult parseResult)
20
var result = new List<
TelemetryEntryFormat
>();
Telemetry\AllowListToSendFirstArgument.cs (2)
14
public List<
TelemetryEntryFormat
> AllowList(ParseResult parseResult)
16
var result = new List<
TelemetryEntryFormat
>();
Telemetry\AllowListToSendVerbSecondVerbFirstArgument.cs (2)
15
public List<
TelemetryEntryFormat
> AllowList(ParseResult parseResult)
17
var result = new List<
TelemetryEntryFormat
>();
Telemetry\IParseResultLogRule.cs (1)
13
List<
TelemetryEntryFormat
> AllowList(ParseResult parseResult);
Telemetry\TelemetryFilter.cs (8)
18
public IEnumerable<
TelemetryEntryFormat
> Filter(ParseResult parseResult) =>
21
public IEnumerable<
TelemetryEntryFormat
> Filter(ParseResultWithGlobalJsonState parseData) =>
24
public IEnumerable<
TelemetryEntryFormat
> Filter(InstallerSuccessReport report)
33
public IEnumerable<
TelemetryEntryFormat
> Filter(Exception exception)
43
private static IEnumerable<
TelemetryEntryFormat
> FilterImpl(ParseResult parseResult, string? globalJsonState)
85
foreach (
TelemetryEntryFormat
allowList in rule.AllowList(parseResult))
92
public IEnumerable<
TelemetryEntryFormat
> Hash(IEnumerable<
TelemetryEntryFormat
> entries) =>
Telemetry\TopLevelCommandNameAndOptionToLog.cs (2)
17
public List<
TelemetryEntryFormat
> AllowList(ParseResult parseResult)
20
var result = new List<
TelemetryEntryFormat
>();
Microsoft.DotNet.Cli.Utils (12)
ITelemetryFilter.cs (4)
10
IEnumerable<
TelemetryEntryFormat
> Filter(ParseResult parseResult);
12
IEnumerable<
TelemetryEntryFormat
> Filter(ParseResultWithGlobalJsonState parseData);
14
IEnumerable<
TelemetryEntryFormat
> Filter(InstallerSuccessReport report);
16
IEnumerable<
TelemetryEntryFormat
> Filter(Exception exception);
TelemetryEventEntry.cs (8)
30
private static void SendFiltered(IEnumerable<
TelemetryEntryFormat
> entries)
32
foreach (
TelemetryEntryFormat
entry in entries)
51
private static readonly
TelemetryEntryFormat
[] s_emptyEntries = [];
53
public IEnumerable<
TelemetryEntryFormat
> Filter(ParseResult parseResult) => s_emptyEntries;
55
public IEnumerable<
TelemetryEntryFormat
> Filter(ParseResultWithGlobalJsonState parseData) => s_emptyEntries;
57
public IEnumerable<
TelemetryEntryFormat
> Filter(InstallerSuccessReport report) => s_emptyEntries;
59
public IEnumerable<
TelemetryEntryFormat
> Filter(Exception exception) => s_emptyEntries;
73
public
TelemetryEntryFormat
WithAppliedToPropertiesValue(Func<string, string> func)