diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-12-01 22:40:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 22:40:20 +0100 |
commit | 3ff3487d4fa5edb7ba3dcd7b6db0e6b58b03809c (patch) | |
tree | c522f65d25b5c1a6d6cd94e25245f35919f3c284 /Xamarin.Forms.Xaml/XamlServiceProvider.cs | |
parent | 1ff0db9c6f4ba1167e6b2620066f83088f23c5bf (diff) | |
download | xamarin-forms-3ff3487d4fa5edb7ba3dcd7b6db0e6b58b03809c.tar.gz xamarin-forms-3ff3487d4fa5edb7ba3dcd7b6db0e6b58b03809c.tar.bz2 xamarin-forms-3ff3487d4fa5edb7ba3dcd7b6db0e6b58b03809c.zip |
[XamlC] provide backward compat for ProvideValueTarget without Target… (#583)
* [XamlC] provide backward compat for ProvideValueTarget without TargetProperty
* docs
Diffstat (limited to 'Xamarin.Forms.Xaml/XamlServiceProvider.cs')
-rw-r--r-- | Xamarin.Forms.Xaml/XamlServiceProvider.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml/XamlServiceProvider.cs b/Xamarin.Forms.Xaml/XamlServiceProvider.cs index 19dd96f5..5052a180 100644 --- a/Xamarin.Forms.Xaml/XamlServiceProvider.cs +++ b/Xamarin.Forms.Xaml/XamlServiceProvider.cs @@ -137,6 +137,11 @@ namespace Xamarin.Forms.Xaml.Internals readonly object[] objectAndParents; readonly object targetProperty; + [Obsolete("TargetProperty is now supported, use it")] + public SimpleValueTargetProvider(object[] objectAndParents) : this (objectAndParents, null) + { + } + public SimpleValueTargetProvider(object[] objectAndParents, object targetProperty) { if (objectAndParents == null) |