From e6d5186c8acbf37b877c7ca3c77a378352a3743d Mon Sep 17 00:00:00 2001 From: kingces95 Date: Tue, 7 Mar 2017 14:56:24 -0500 Subject: Remove InternalsVisibleTo from Core to XF.Platforms.* (#782) * Remove InternalsVisibleTo from Core to XF.Platforms.* * Changes per Jason's code review * Move LockableObservableListWrapper to internals namespace * Changes per Stephane's code review * update docs * Touch code to get CI to run tests * Rebase; Update documentation --- Xamarin.Forms.Core/PlatformEffect.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Xamarin.Forms.Core/PlatformEffect.cs') diff --git a/Xamarin.Forms.Core/PlatformEffect.cs b/Xamarin.Forms.Core/PlatformEffect.cs index e92231ce..217510f4 100644 --- a/Xamarin.Forms.Core/PlatformEffect.cs +++ b/Xamarin.Forms.Core/PlatformEffect.cs @@ -6,8 +6,14 @@ namespace Xamarin.Forms { public TContainer Container { get; internal set; } + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetContainer(TContainer container) => Container = container; + public TControl Control { get; internal set; } + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetControl(TControl control) => Control = control; + protected virtual void OnElementPropertyChanged(PropertyChangedEventArgs args) { } -- cgit v1.2.3