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
- SmtpClient.cs
- SoapFault.cs
- HostedTransportConfigurationManager.cs
- DesignerContextDescriptor.cs
- TemplateBindingExpression.cs
- sortedlist.cs
- MatrixTransform.cs
- Repeater.cs
- StrokeIntersection.cs
- PKCS1MaskGenerationMethod.cs
- HuffmanTree.cs
- ColumnMapTranslator.cs
- RuntimeWrappedException.cs
- MenuItemStyle.cs
- Cursor.cs
- TemplateAction.cs
- ChildrenQuery.cs
- XmlSequenceWriter.cs
- CustomErrorCollection.cs
- HttpListenerResponse.cs
- TreeView.cs
- CredentialCache.cs
- UriTemplateQueryValue.cs
- SecurityKeyIdentifierClause.cs
- SecurityRuntime.cs
- nulltextnavigator.cs
- XPathDocumentIterator.cs
- cache.cs
- PerformanceCounter.cs
- ImagingCache.cs
- CheckBoxBaseAdapter.cs
- MessageAction.cs
- _NetRes.cs
- _DisconnectOverlappedAsyncResult.cs
- PropertyMapper.cs
- CookieHandler.cs
- EmptyReadOnlyDictionaryInternal.cs
- DoubleMinMaxAggregationOperator.cs
- BaseProcessor.cs
- DataGridViewColumnDesigner.cs
- DocumentViewerBaseAutomationPeer.cs
- TypeUtil.cs
- DataGridViewElement.cs
- XmlSecureResolver.cs
- _LocalDataStoreMgr.cs
- FilteredDataSetHelper.cs
- GridViewAutomationPeer.cs
- EpmTargetPathSegment.cs
- Formatter.cs
- XmlSerializerFactory.cs
- NullableBoolConverter.cs
- NetSectionGroup.cs
- PageContentCollection.cs
- ErasingStroke.cs
- OleDbMetaDataFactory.cs
- FilePresentation.cs
- MissingManifestResourceException.cs
- RemoteX509Token.cs
- LayoutSettings.cs
- Binding.cs
- RegistryPermission.cs
- TabControlEvent.cs
- EditingMode.cs
- VisualStyleInformation.cs
- FactoryGenerator.cs
- EmptyQuery.cs
- BookmarkNameHelper.cs
- WebEventTraceProvider.cs
- TypeUtil.cs
- Component.cs
- SequentialWorkflowHeaderFooter.cs
- DataGridTable.cs
- GifBitmapEncoder.cs
- AsymmetricKeyExchangeDeformatter.cs
- EntityDataSourceReferenceGroup.cs
- UnsafeNativeMethods.cs
- DisplayMemberTemplateSelector.cs
- ActivityIdHeader.cs
- DockAndAnchorLayout.cs
- DbParameterCollectionHelper.cs
- CryptoProvider.cs
- SslSecurityTokenParameters.cs
- MatchingStyle.cs
- ImageMapEventArgs.cs
- QilCloneVisitor.cs
- MimeReturn.cs
- SecurityException.cs
- Stroke2.cs
- TreeView.cs
- SQLRoleProvider.cs
- IdentifierCreationService.cs
- XamlWriter.cs
- VideoDrawing.cs
- RuleSettings.cs
- TextCharacters.cs
- AutomationPropertyInfo.cs
- UITypeEditor.cs
- BuilderInfo.cs
- Error.cs
- Wizard.cs