From 915b9faaab8e26c5e9087eec44ff73d64803b574 Mon Sep 17 00:00:00 2001 From: Haritha Mohan <110641567+haritha-mohan@users.noreply.github.com> Date: Fri, 4 Nov 2022 10:11:16 -0400 Subject: [PATCH] [ImageKit] Fix capitalization mistakes autoPlayDelay -> AutoPlayDelay, filterArray -> FilterArray (#16575) Fixes #16573 --- src/imagekit.cs | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/imagekit.cs b/src/imagekit.cs index 8b14e72b40..8298d0bd27 100644 --- a/src/imagekit.cs +++ b/src/imagekit.cs @@ -726,8 +726,14 @@ namespace ImageKit { [Protocolize] IKImageEditPanelDataSource DataSource { get; set; } - [Export ("filterArray")] +#if !XAMCORE_5_0 + [Obsolete ("Use the 'FilterArray' property instead.")] + [Wrap ("FilterArray", IsVirtual = true)] NSArray filterArray { get; } +#endif + + [Export ("filterArray")] + NSArray FilterArray { get; } [Export ("reloadData")] void ReloadData (); @@ -1068,8 +1074,14 @@ namespace ImageKit { [Export ("sharedSlideshow")] IKSlideshow SharedSlideshow { get; } - [Export ("autoPlayDelay")] +#if !XAMCORE_5_0 + [Obsolete ("Use the 'AutoPlayDelay' property instead.")] + [Wrap ("AutoPlayDelay", IsVirtual = true)] double autoPlayDelay { get; set; } +#endif + + [Export ("autoPlayDelay")] + double AutoPlayDelay { get; set; } [Export ("runSlideshowWithDataSource:inMode:options:")] void RunSlideshow ([Protocolize] IKSlideshowDataSource dataSource, string slideshowMode, NSDictionary slideshowOptions);