Initial implementation for extension manifests

This commit is contained in:
kjac
2023-02-13 19:03:58 +01:00
parent 233be8dc8f
commit eb0ec7bee8
18 changed files with 410 additions and 161 deletions

View File

@@ -7,8 +7,14 @@ namespace Umbraco.Cms.Core.Telemetry;
/// </summary>
public interface ITelemetryService
{
/// <summary>
/// Try and get the <see cref="TelemetryReportData" />
/// </summary>
[Obsolete("Please use GetTelemetryReportDataAsync. Will be removed in V15.")]
bool TryGetTelemetryReportData(out TelemetryReportData? telemetryReportData);
/// <summary>
/// Attempts to get the <see cref="TelemetryReportData" />
/// </summary>
/// <remarks>
/// May return null if the site is in an unknown state.
/// </remarks>
Task<TelemetryReportData?> GetTelemetryReportDataAsync();
}