View Source
Class MetricsConsentService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class MetricsConsentService : IMetricsConsentService
Constructors
View Source
MetricsConsentService(IKeyValueService, ILogger<MetricsConsentService>, IBackOfficeSecurityAccessor, IUserService)
Declaration
public MetricsConsentService(IKeyValueService keyValueService, ILogger<MetricsConsentService> logger, IBackOfficeSecurityAccessor backOfficeSecurityAccessor, IUserService userService)
Parameters
Methods
View Source
GetConsentLevel()
Declaration
public TelemetryLevel GetConsentLevel()
Returns
View Source
SetConsentLevel(TelemetryLevel)
Declaration
public void SetConsentLevel(TelemetryLevel telemetryLevel)
Parameters
View Source
SetConsentLevelAsync(TelemetryLevel)
Declaration
public async Task SetConsentLevelAsync(TelemetryLevel telemetryLevel)
Parameters
Returns