Browse Source
Added `IValueEntry<T>` interface back in and use that if present to get the value from the entry.pull/8600/head
4 changed files with 37 additions and 4 deletions
@ -0,0 +1,16 @@ |
|||
namespace Avalonia.PropertyStore |
|||
{ |
|||
/// <summary>
|
|||
/// Represents a typed value entry in a <see cref="ValueFrame"/>.
|
|||
/// </summary>
|
|||
internal interface IValueEntry<T> : IValueEntry |
|||
{ |
|||
/// <summary>
|
|||
/// Gets the value associated with the entry.
|
|||
/// </summary>
|
|||
/// <exception cref="AvaloniaInternalException">
|
|||
/// The entry has no value.
|
|||
/// </exception>
|
|||
new T GetValue(); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue