Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / PersonalizationStateInfo.cs / 1 / PersonalizationStateInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Security.Permissions; using System.Web.Util; [Serializable] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public abstract class PersonalizationStateInfo { private string _path; private DateTime _lastUpdatedDate; private int _size; // We only want our assembly to inherit this class, so make it internal internal PersonalizationStateInfo(string path, DateTime lastUpdatedDate, int size) { _path = StringUtil.CheckAndTrimString(path, "path"); PersonalizationProviderHelper.CheckNegativeInteger(size, "size"); _lastUpdatedDate = lastUpdatedDate.ToUniversalTime(); _size = size; } public string Path { get { return _path; } } public DateTime LastUpdatedDate { get { return _lastUpdatedDate.ToLocalTime(); } } public int Size { get { return _size; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpModuleAction.cs
- RegexCode.cs
- FixUpCollection.cs
- RectangleGeometry.cs
- Light.cs
- UTF7Encoding.cs
- ConfigurationManagerHelper.cs
- PackageRelationship.cs
- SQLGuid.cs
- LabelAutomationPeer.cs
- KoreanLunisolarCalendar.cs
- PrintControllerWithStatusDialog.cs
- NativeRecognizer.cs
- SecureEnvironment.cs
- CatalogPartCollection.cs
- NoneExcludedImageIndexConverter.cs
- XmlSchemaValidator.cs
- EpmContentDeSerializer.cs
- CalendarKeyboardHelper.cs
- RepeaterDataBoundAdapter.cs
- ExpressionsCollectionEditor.cs
- ProxyHelper.cs
- ForeignKeyFactory.cs
- Number.cs
- IPAddress.cs
- TaskSchedulerException.cs
- ReceiveContextCollection.cs
- XMLUtil.cs
- PageParserFilter.cs
- CollectionEditVerbManager.cs
- LiteralDesigner.cs
- StrongNameIdentityPermission.cs
- basecomparevalidator.cs
- ConfigurationCollectionAttribute.cs
- PointLightBase.cs
- LazyTextWriterCreator.cs
- SelectionItemPattern.cs
- DataGridViewSelectedColumnCollection.cs
- BevelBitmapEffect.cs
- EmptyElement.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- FontInfo.cs
- DataGridColumnDropSeparator.cs
- ParserOptions.cs
- MimeMapping.cs
- WebScriptClientGenerator.cs
- SessionEndingCancelEventArgs.cs
- IntranetCredentialPolicy.cs
- TextOptionsInternal.cs
- TextBoxRenderer.cs
- StrongNameIdentityPermission.cs
- TerminatorSinks.cs
- NativeWrapper.cs
- PartialCachingAttribute.cs
- InvokeSchedule.cs
- ConnectionsZoneAutoFormat.cs
- DataKeyCollection.cs
- UseLicense.cs
- ComponentGuaranteesAttribute.cs
- BigInt.cs
- SimpleHandlerBuildProvider.cs
- XPathParser.cs
- Attributes.cs
- CatalogZoneBase.cs
- ToolStripSeparator.cs
- DataList.cs
- BinaryObjectWriter.cs
- Pen.cs
- DrawingGroupDrawingContext.cs
- SchemaLookupTable.cs
- ToolStripMenuItem.cs
- Viewport2DVisual3D.cs
- UnionCodeGroup.cs
- EventHandlersStore.cs
- BigInt.cs
- ToolTipService.cs
- ConfigurationPropertyCollection.cs
- DoubleLinkListEnumerator.cs
- ResourceReferenceKeyNotFoundException.cs
- Literal.cs
- WebPartZoneBase.cs
- TextDecorationCollectionConverter.cs
- SamlAuthorityBinding.cs
- _SSPIWrapper.cs
- AttributeParameterInfo.cs
- MatchSingleFxEngineOpcode.cs
- ProfilePropertySettingsCollection.cs
- XmlDesigner.cs
- Form.cs
- CheckableControlBaseAdapter.cs
- ReferenceService.cs
- StaticExtension.cs
- SpanIndex.cs
- XsdSchemaFileEditor.cs
- Wildcard.cs
- ObjectDataSourceMethodEventArgs.cs
- DesignerProperties.cs
- DataControlFieldCell.cs
- DataPager.cs
- DataRelationCollection.cs