Browse Source

fix(LogArea): Replace string with nameof

pull/9113/head
Giuseppe Lippolis 4 years ago
parent
commit
d92edc8d62
  1. 12
      src/Avalonia.Base/Logging/LogArea.cs

12
src/Avalonia.Base/Logging/LogArea.cs

@ -8,32 +8,32 @@ namespace Avalonia.Logging
/// <summary>
/// The log event comes from the property system.
/// </summary>
public const string Property = "Property";
public const string Property = nameof(Property);
/// <summary>
/// The log event comes from the binding system.
/// </summary>
public const string Binding = "Binding";
public const string Binding = nameof(Binding);
/// <summary>
/// The log event comes from the animations system.
/// </summary>
public const string Animations = "Animations";
public const string Animations = nameof(Animations);
/// <summary>
/// The log event comes from the visual system.
/// </summary>
public const string Visual = "Visual";
public const string Visual = nameof(Visual);
/// <summary>
/// The log event comes from the layout system.
/// </summary>
public const string Layout = "Layout";
public const string Layout = nameof(Layout);
/// <summary>
/// The log event comes from the control system.
/// </summary>
public const string Control = "Control";
public const string Control = nameof(Control);
/// <summary>
/// The log event comes from Win32 Platform.

Loading…
Cancel
Save