Browse Source

Merge pull request #2324 from AvaloniaUI/fix-cue-parse-xamlil

Make Cue Parse method explicitly typed.
pull/2326/head
Steven Kirk 7 years ago
committed by GitHub
parent
commit
3ba4d6510e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Avalonia.Animation/Cue.cs

4
src/Avalonia.Animation/Cue.cs

@ -30,7 +30,7 @@ namespace Avalonia.Animation
/// <summary>
/// Parses a string to a <see cref="Cue"/> object.
/// </summary>
public static object Parse(string value, CultureInfo culture)
public static Cue Parse(string value, CultureInfo culture)
{
string v = value;
@ -70,7 +70,7 @@ namespace Avalonia.Animation
}
}
public class CueTypeConverter : TypeConverter
public class CueTypeConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{

Loading…
Cancel
Save