Skip to content

[.NET] Deprecation warnings not updated for fontStyles->fontTypes rename #3506

@paulcam206

Description

@paulcam206

Platform

  • .NET HTML
  • .NET WPF

Description

FontStyle was renamed to FontType, but an older deprecation warning wasn't updated to reflect this:

[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
[Obsolete("AdaptiveHostConfig.FontFamily has been deprecated. Use AdaptiveHostConfig.FontStyles.Default.FontFamily", false)]
public string FontFamily { get; set; }
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
[Obsolete("AdaptiveHostConfig.FontSizes has been deprecated. Use AdaptiveHostConfig.FontStyles.Default.FontSizes", false)]
public FontSizesConfig FontSizes { get; set; } = new FontSizesConfig();
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
[Obsolete("AdaptiveHostConfig.FontWeights has been deprecated. Use AdaptiveHostConfig.FontStyles.Default.FontWeights", false)]
public FontWeightsConfig FontWeights { get; set; } = new FontWeightsConfig();

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions