Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Maupin <ermaup@microsoft.com>2018-06-27 01:10:22 +0300
committerEric Maupin <ermaup@microsoft.com>2018-07-19 00:20:55 +0300
commitce7d4838bd602f731ce078221ded3d8cf909afce (patch)
treef4954f8c1693570b90940f9d420f6163f0afdcfd /Xamarin.PropertyEditing.Tests
parent402f21ce941df0c18a639895f5058507003f17bb (diff)
[Core] IEditorProvider.GetChildrenAsync (object)
Diffstat (limited to 'Xamarin.PropertyEditing.Tests')
-rw-r--r--Xamarin.PropertyEditing.Tests/MockEditorProvider.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Tests/MockEditorProvider.cs b/Xamarin.PropertyEditing.Tests/MockEditorProvider.cs
index 5aed81a..e2ca470 100644
--- a/Xamarin.PropertyEditing.Tests/MockEditorProvider.cs
+++ b/Xamarin.PropertyEditing.Tests/MockEditorProvider.cs
@@ -49,12 +49,16 @@ namespace Xamarin.PropertyEditing.Tests
return Task.FromResult (Activator.CreateInstance (realType));
}
+ public Task<IReadOnlyList<object>> GetChildrenAsync (object item)
+ {
+ return Task.FromResult<IReadOnlyList<object>> (Array.Empty<object> ());
+ }
+
public Task<IReadOnlyDictionary<Type, ITypeInfo>> GetKnownTypesAsync (IReadOnlyCollection<Type> knownTypes)
{
return Task.FromResult<IReadOnlyDictionary<Type, ITypeInfo>> (new Dictionary<Type, ITypeInfo> ());
}
-
private readonly Dictionary<object, IObjectEditor> editorCache = new Dictionary<object, IObjectEditor> ();
}
} \ No newline at end of file