diff options
author | Eric Maupin <ermaup@microsoft.com> | 2018-05-11 21:57:26 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2018-05-12 02:02:05 +0300 |
commit | 920eab7c07a0e85eb6ae7e06a6d1e201d0a32565 (patch) | |
tree | a164bcf880af35b85d2c4882cb10388093603eb1 /Xamarin.PropertyEditing.Tests | |
parent | 386c68c6fbc27e9cb5136d65681471c41d31eba8 (diff) |
[Core] Add IPropertyInfo.TypeName
Diffstat (limited to 'Xamarin.PropertyEditing.Tests')
-rw-r--r-- | Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockBrushPropertyInfo.cs | 2 | ||||
-rw-r--r-- | Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockPropertyInfo.cs | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockBrushPropertyInfo.cs b/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockBrushPropertyInfo.cs index 47e8ddb..e9f368b 100644 --- a/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockBrushPropertyInfo.cs +++ b/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockBrushPropertyInfo.cs @@ -29,6 +29,8 @@ namespace Xamarin.PropertyEditing.Tests.MockPropertyInfo public Type Type => typeof(CommonBrush); + public string TypeName => Type.Name; + public string Category { get; } public bool CanWrite { get; } diff --git a/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockPropertyInfo.cs b/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockPropertyInfo.cs index 1e9507f..9409a39 100644 --- a/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockPropertyInfo.cs +++ b/Xamarin.PropertyEditing.Tests/MockPropertyInfo/MockPropertyInfo.cs @@ -30,6 +30,7 @@ namespace Xamarin.PropertyEditing.Tests.MockPropertyInfo public string Name { get; } public string Description { get; } public virtual Type Type => typeof (T); + public string TypeName => Type.Name; public string Category { get; } public bool CanWrite { get; } public ValueSources ValueSources { get; } |