summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml/ValueConverterProvider.cs
blob: f7859e0c2301df7feac4e55bb579450daecfc0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Reflection;

namespace Xamarin.Forms.Xaml
{
	internal class ValueConverterProvider : IValueConverterProvider
	{
		public object Convert(object value, Type toType, Func<MemberInfo> minfoRetriever, IServiceProvider serviceProvider)
		{
			return value.ConvertTo(toType, minfoRetriever, serviceProvider);
		}
	}
}