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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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) |
|
|
|
{ |
|
|
|
|