Browse Source

DelayedSetter -> DeferredSetter

pull/856/head
Jeremy Koritzinsky 9 years ago
parent
commit
add5f0451b
  1. 2
      src/Avalonia.Base/AvaloniaObject.cs
  2. 2
      src/Avalonia.Base/PriorityValue.cs
  3. 2
      src/Avalonia.Base/Utilities/DeferredSetter.cs

2
src/Avalonia.Base/AvaloniaObject.cs

@ -54,7 +54,7 @@ namespace Avalonia
/// <summary>
/// Delayed setter helper for direct properties. Used to fix #855.
/// </summary>
private readonly DelayedSetter<AvaloniaProperty, object> directDelayedSetter = new DelayedSetter<AvaloniaProperty, object>();
private readonly DeferredSetter<AvaloniaProperty, object> directDelayedSetter = new DeferredSetter<AvaloniaProperty, object>();
/// <summary>

2
src/Avalonia.Base/PriorityValue.cs

@ -30,7 +30,7 @@ namespace Avalonia
private readonly SingleOrDictionary<int, PriorityLevel> _levels = new SingleOrDictionary<int, PriorityLevel>();
private object _value;
private readonly Func<object, object> _validate;
private static readonly DelayedSetter<PriorityValue, (object value, int priority)> delayedSetter = new DelayedSetter<PriorityValue, (object, int)>();
private static readonly DeferredSetter<PriorityValue, (object value, int priority)> delayedSetter = new DeferredSetter<PriorityValue, (object, int)>();
/// <summary>
/// Initializes a new instance of the <see cref="PriorityValue"/> class.

2
src/Avalonia.Base/Utilities/DelayedSetter.cs → src/Avalonia.Base/Utilities/DeferredSetter.cs

@ -10,7 +10,7 @@ namespace Avalonia.Utilities
/// </summary>
/// <typeparam name="TProperty">The type of the object that represents the property.</typeparam>
/// <typeparam name="TValue">The type of value with which to track the delayed assignment.</typeparam>
class DelayedSetter<TProperty, TValue>
class DeferredSetter<TProperty, TValue>
{
/// <summary>
/// Information on current setting/notification status of a property.
Loading…
Cancel
Save