Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HostProtectionException.cs
- Header.cs
- WinEventHandler.cs
- WindowsFormsLinkLabel.cs
- OracleBoolean.cs
- DbDeleteCommandTree.cs
- IgnorePropertiesAttribute.cs
- VersionedStreamOwner.cs
- OAVariantLib.cs
- SR.cs
- MergeLocalizationDirectives.cs
- StringUtil.cs
- OptimalBreakSession.cs
- CompositeScriptReferenceEventArgs.cs
- GenericWebPart.cs
- _AutoWebProxyScriptWrapper.cs
- ResourceDescriptionAttribute.cs
- SafeNativeMethodsCLR.cs
- MultipartContentParser.cs
- SchemaRegistration.cs
- XhtmlConformanceSection.cs
- COM2IDispatchConverter.cs
- CodeConditionStatement.cs
- PerfCounters.cs
- MenuAdapter.cs
- ControlCollection.cs
- BackStopAuthenticationModule.cs
- DefaultAuthorizationContext.cs
- Memoizer.cs
- HyperLinkStyle.cs
- StringAnimationUsingKeyFrames.cs
- XmlCustomFormatter.cs
- ClientUIRequest.cs
- SystemFonts.cs
- Activator.cs
- StylusPointPropertyInfo.cs
- SiteMap.cs
- basecomparevalidator.cs
- SerTrace.cs
- InfoCardTrace.cs
- FilteredSchemaElementLookUpTable.cs
- FreeFormDesigner.cs
- BitmapEffectGroup.cs
- BitmapEffectCollection.cs
- TemplateKey.cs
- FlowDocumentReader.cs
- DoubleLinkList.cs
- PtsHelper.cs
- ArrayExtension.cs
- ButtonChrome.cs
- KeyProperty.cs
- DynamicQueryableWrapper.cs
- ParallelQuery.cs
- DynamicDocumentPaginator.cs
- DataGridViewBand.cs
- InstanceLockLostException.cs
- MetadataException.cs
- SqlCacheDependencyDatabase.cs
- DataGridCellItemAutomationPeer.cs
- PropertyMetadata.cs
- CellParaClient.cs
- SqlSelectStatement.cs
- SelectingProviderEventArgs.cs
- CapabilitiesState.cs
- LeaseManager.cs
- XmlDictionary.cs
- OdbcTransaction.cs
- Light.cs
- RecordsAffectedEventArgs.cs
- DataGridViewElement.cs
- DataServiceQueryProvider.cs
- RoleBoolean.cs
- MonthChangedEventArgs.cs
- NavigateUrlConverter.cs
- XmlSerializerVersionAttribute.cs
- EntityReference.cs
- MimeMapping.cs
- MonitoringDescriptionAttribute.cs
- PtsPage.cs
- CacheMemory.cs
- WebBrowserUriTypeConverter.cs
- HttpCookiesSection.cs
- CompiledELinqQueryState.cs
- SmtpClient.cs
- DoubleAnimationUsingPath.cs
- ACE.cs
- VersionPair.cs
- Animatable.cs
- KeyboardDevice.cs
- OracleLob.cs
- StackBuilderSink.cs
- DictionaryMarkupSerializer.cs
- Invariant.cs
- SiteOfOriginPart.cs
- FragmentNavigationEventArgs.cs
- Math.cs
- PropertyDescriptorComparer.cs
- ObjectNavigationPropertyMapping.cs
- OpenFileDialog.cs
- CommandField.cs