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
- StrongNameMembershipCondition.cs
- ECDsaCng.cs
- ObjectStateEntry.cs
- MetaModel.cs
- ConsumerConnectionPointCollection.cs
- ConnectionConsumerAttribute.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ExpressionReplacer.cs
- GACIdentityPermission.cs
- ForeignKeyConstraint.cs
- FixUp.cs
- CssStyleCollection.cs
- ZipIORawDataFileBlock.cs
- CollectionViewGroupInternal.cs
- ValidatorCollection.cs
- DetailsView.cs
- TypeInformation.cs
- ListenerElementsCollection.cs
- ZipIOModeEnforcingStream.cs
- RawKeyboardInputReport.cs
- ConnectorMovedEventArgs.cs
- OleDbConnectionInternal.cs
- UserControlAutomationPeer.cs
- MemberProjectionIndex.cs
- ScriptResourceHandler.cs
- _OSSOCK.cs
- RTLAwareMessageBox.cs
- AssemblyNameProxy.cs
- XmlSchemaSimpleContentRestriction.cs
- ServiceOperationParameter.cs
- PlatformCulture.cs
- ListSortDescription.cs
- Command.cs
- dataprotectionpermission.cs
- RepeaterItemEventArgs.cs
- ThreadInterruptedException.cs
- Type.cs
- SvcMapFileLoader.cs
- DataTableNewRowEvent.cs
- DefaultPropertyAttribute.cs
- StateRuntime.cs
- WebHttpEndpointElement.cs
- TitleStyle.cs
- XmlnsDefinitionAttribute.cs
- DetailsViewInsertEventArgs.cs
- FontUnitConverter.cs
- SqlClientMetaDataCollectionNames.cs
- PerformanceCounterManager.cs
- GeneralTransform3DGroup.cs
- EditorPartCollection.cs
- StatusBarPanel.cs
- ArithmeticLiteral.cs
- ToolStripMenuItem.cs
- MethodBuilder.cs
- ExternalCalls.cs
- PageCopyCount.cs
- Matrix.cs
- SendMailErrorEventArgs.cs
- CustomAttribute.cs
- PropagationProtocolsTracing.cs
- SafeRightsManagementHandle.cs
- ToolStripSplitStackLayout.cs
- CurrentChangedEventManager.cs
- OracleCommandSet.cs
- MDIWindowDialog.cs
- NameValueConfigurationElement.cs
- Storyboard.cs
- EntityTypeBase.cs
- DocumentViewerBaseAutomationPeer.cs
- DataGridTable.cs
- TracingConnectionListener.cs
- ColorAnimationBase.cs
- UIElement3D.cs
- ColorConverter.cs
- WebPartConnectVerb.cs
- DoneReceivingAsyncResult.cs
- SymmetricAlgorithm.cs
- ReflectionPermission.cs
- ProxyAttribute.cs
- WindowsScrollBar.cs
- WindowCollection.cs
- ObjectDataSourceStatusEventArgs.cs
- LowerCaseStringConverter.cs
- ApplicationServiceHelper.cs
- FlowDocumentPaginator.cs
- ProfileParameter.cs
- MessageDecoder.cs
- TraceData.cs
- SelectedGridItemChangedEvent.cs
- SpeechAudioFormatInfo.cs
- SharedConnectionInfo.cs
- WSFederationHttpSecurity.cs
- ContextToken.cs
- PassportIdentity.cs
- RelationshipEnd.cs
- ServiceMetadataContractBehavior.cs
- GeometryCombineModeValidation.cs
- QueryContinueDragEventArgs.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- DynamicExpression.cs