summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/NavigationProxy.cs
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2017-03-09 18:38:06 (GMT)
committerJason Smith <jason.smith@xamarin.com>2017-03-09 18:38:06 (GMT)
commitb9b9d2536ff0cd6ae4526356d663706c721e481f (patch)
tree40778d441da74f47eb910067e0dad77d15bbb34a /Xamarin.Forms.Core/NavigationProxy.cs
parent90ece3d38d3f6d6d2bbdd28b12a29e78c0feedc4 (diff)
downloadxamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.zip
xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.tar.gz
xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.tar.bz2
Add [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in XF.Internals (#806)
Diffstat (limited to 'Xamarin.Forms.Core/NavigationProxy.cs')
-rw-r--r--Xamarin.Forms.Core/NavigationProxy.cs16
1 files changed, 1 insertions, 15 deletions
diff --git a/Xamarin.Forms.Core/NavigationProxy.cs b/Xamarin.Forms.Core/NavigationProxy.cs
index 0b686c0..9fc3787 100644
--- a/Xamarin.Forms.Core/NavigationProxy.cs
+++ b/Xamarin.Forms.Core/NavigationProxy.cs
@@ -6,6 +6,7 @@ using System.Threading.Tasks;
namespace Xamarin.Forms.Internals
{
+ [EditorBrowsable(EditorBrowsableState.Never)]
public class NavigationProxy : INavigation
{
INavigation _inner;
@@ -13,7 +14,6 @@ namespace Xamarin.Forms.Internals
Lazy<List<Page>> _pushStack = new Lazy<List<Page>>(() => new List<Page>());
- [EditorBrowsable(EditorBrowsableState.Never)]
public INavigation Inner
{
get { return _inner; }
@@ -54,67 +54,56 @@ namespace Xamarin.Forms.Internals
}
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public void InsertPageBefore(Page page, Page before)
{
OnInsertPageBefore(page, before);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public IReadOnlyList<Page> ModalStack
{
get { return GetModalStack(); }
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public IReadOnlyList<Page> NavigationStack
{
get { return GetNavigationStack(); }
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task<Page> PopAsync()
{
return OnPopAsync(true);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task<Page> PopAsync(bool animated)
{
return OnPopAsync(animated);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task<Page> PopModalAsync()
{
return OnPopModal(true);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task<Page> PopModalAsync(bool animated)
{
return OnPopModal(animated);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task PopToRootAsync()
{
return OnPopToRootAsync(true);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task PopToRootAsync(bool animated)
{
return OnPopToRootAsync(animated);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task PushAsync(Page root)
{
return PushAsync(root, true);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task PushAsync(Page root, bool animated)
{
if (root.RealParent != null)
@@ -122,13 +111,11 @@ namespace Xamarin.Forms.Internals
return OnPushAsync(root, animated);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task PushModalAsync(Page modal)
{
return PushModalAsync(modal, true);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public Task PushModalAsync(Page modal, bool animated)
{
if (modal.RealParent != null)
@@ -136,7 +123,6 @@ namespace Xamarin.Forms.Internals
return OnPushModal(modal, animated);
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public void RemovePage(Page page)
{
OnRemovePage(page);