View Source
Class MetricsConsentService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class MetricsConsentService : IMetricsConsentService
Constructors
View Source
MetricsConsentService(IKeyValueService)
Declaration
public MetricsConsentService(IKeyValueService keyValueService)
Parameters
View Source
MetricsConsentService(IKeyValueService, ILogger<MetricsConsentService>, IBackOfficeSecurityAccessor)
Declaration
public MetricsConsentService(IKeyValueService keyValueService, ILogger<MetricsConsentService> logger, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
Parameters
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