summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/DeviceOrientationExtensions.cs
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2017-03-09 13:38:06 -0500
committerJason Smith <jason.smith@xamarin.com>2017-03-09 10:38:06 -0800
commitb9b9d2536ff0cd6ae4526356d663706c721e481f (patch)
tree40778d441da74f47eb910067e0dad77d15bbb34a /Xamarin.Forms.Core/DeviceOrientationExtensions.cs
parent90ece3d38d3f6d6d2bbdd28b12a29e78c0feedc4 (diff)
downloadxamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.tar.gz
xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.tar.bz2
xamarin-forms-b9b9d2536ff0cd6ae4526356d663706c721e481f.zip
Add [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in XF.Internals (#806)
Diffstat (limited to 'Xamarin.Forms.Core/DeviceOrientationExtensions.cs')
-rw-r--r--Xamarin.Forms.Core/DeviceOrientationExtensions.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/DeviceOrientationExtensions.cs b/Xamarin.Forms.Core/DeviceOrientationExtensions.cs
index 9dc97694..fae2e76a 100644
--- a/Xamarin.Forms.Core/DeviceOrientationExtensions.cs
+++ b/Xamarin.Forms.Core/DeviceOrientationExtensions.cs
@@ -2,15 +2,14 @@ using System.ComponentModel;
namespace Xamarin.Forms.Internals
{
+ [EditorBrowsable(EditorBrowsableState.Never)]
public static class DeviceOrientationExtensions
{
- [EditorBrowsable(EditorBrowsableState.Never)]
public static bool IsLandscape(this DeviceOrientation orientation)
{
return orientation == DeviceOrientation.Landscape || orientation == DeviceOrientation.LandscapeLeft || orientation == DeviceOrientation.LandscapeRight;
}
- [EditorBrowsable(EditorBrowsableState.Never)]
public static bool IsPortrait(this DeviceOrientation orientation)
{
return orientation == DeviceOrientation.Portrait || orientation == DeviceOrientation.PortraitDown || orientation == DeviceOrientation.PortraitUp;