X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.UI%2FStateItem.cs;h=d1cfbc29373df166d6ef4e791a21ee8375ad6445;hb=4428d538123e48267b4ced413e1be2fdc4011b9a;hp=78f49ac3bd3669823d280da5fb499e6ea973682e;hpb=538d3bb80572334c18ae117ea7703406a4a22872;p=mono.git diff --git a/mcs/class/System.Web/System.Web.UI/StateItem.cs b/mcs/class/System.Web/System.Web.UI/StateItem.cs index 78f49ac3bd3..d1cfbc29373 100644 --- a/mcs/class/System.Web/System.Web.UI/StateItem.cs +++ b/mcs/class/System.Web/System.Web.UI/StateItem.cs @@ -1,10 +1,10 @@ -// -// System.Web.UI.StateItem.cs -// -// Author: -// Bob Smith -// -// (C) Bob Smith +// +// System.Web.UI.StateItem.cs +// +// Author: +// Bob Smith +// +// (C) Bob Smith // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining @@ -26,43 +26,43 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - + using System.Security.Permissions; - + namespace System.Web.UI { - + // CAS - no InheritanceDemand here as the class is sealed [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] - public sealed class StateItem - { - private bool _isDirty = false; - private object _value = null; - public bool IsDirty - { - get - { - return _isDirty; - } - set - { - _isDirty = value; - } - } - public object Value - { - get - { - return _value; - } - set - { - _value = value; - } - } - private StateItem() {} - internal StateItem(Object value) - { - _value = value; - } - } -} + public sealed class StateItem + { + bool _isDirty = false; + object _value = null; + public bool IsDirty + { + get + { + return _isDirty; + } + set + { + _isDirty = value; + } + } + public object Value + { + get + { + return _value; + } + set + { + _value = value; + } + } + StateItem() {} + internal StateItem(Object value) + { + _value = value; + } + } +}