Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / PersonalizationStateInfo.cs / 1305376 / PersonalizationStateInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Web.Util; [Serializable] 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.Web.Util; [Serializable] 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptManager.cs
- NamespaceCollection.cs
- AccessViolationException.cs
- Constraint.cs
- PeerInvitationResponse.cs
- CollectionContainer.cs
- Guid.cs
- RijndaelManaged.cs
- DiscoveryServerProtocol.cs
- OrderingInfo.cs
- ParameterElement.cs
- IxmlLineInfo.cs
- baseaxisquery.cs
- InfocardInteractiveChannelInitializer.cs
- ConsoleKeyInfo.cs
- XpsPackagingException.cs
- FileChangesMonitor.cs
- PropertyChangedEventManager.cs
- RegexStringValidatorAttribute.cs
- GeometryConverter.cs
- XmlSchemaGroupRef.cs
- BamlRecordWriter.cs
- BuildResultCache.cs
- ProgressBarBrushConverter.cs
- BasicCommandTreeVisitor.cs
- FixedDSBuilder.cs
- TableItemProviderWrapper.cs
- ViewCellSlot.cs
- NativeMethods.cs
- RuntimeResourceSet.cs
- IERequestCache.cs
- SqlReferenceCollection.cs
- DeviceContexts.cs
- ViewBox.cs
- WinEventWrap.cs
- FilterElement.cs
- Ref.cs
- OrderByBuilder.cs
- CharConverter.cs
- WSDualHttpSecurityMode.cs
- WindowsFormsHostPropertyMap.cs
- DesignerVerbCollection.cs
- HostingEnvironmentException.cs
- LocationSectionRecord.cs
- KeyValueConfigurationCollection.cs
- ColumnWidthChangingEvent.cs
- DataViewManager.cs
- XhtmlBasicListAdapter.cs
- ServicesSection.cs
- Label.cs
- AdapterDictionary.cs
- Metadata.cs
- ChannelFactoryRefCache.cs
- DataGridViewCellValidatingEventArgs.cs
- EncodingInfo.cs
- FileVersionInfo.cs
- TiffBitmapEncoder.cs
- ComponentResourceManager.cs
- SafeFileHandle.cs
- exports.cs
- ServiceSettingsResponseInfo.cs
- Activity.cs
- StringFunctions.cs
- EventItfInfo.cs
- ValidatingReaderNodeData.cs
- SmiSettersStream.cs
- UpdateProgress.cs
- querybuilder.cs
- PermissionToken.cs
- SizeValueSerializer.cs
- IFlowDocumentViewer.cs
- XsdValidatingReader.cs
- SafeEventLogWriteHandle.cs
- HighlightVisual.cs
- XmlValueConverter.cs
- Tablet.cs
- NativeCppClassAttribute.cs
- RepeatBehaviorConverter.cs
- XmlProcessingInstruction.cs
- WebPartZoneCollection.cs
- LayoutEditorPart.cs
- SchemaComplexType.cs
- ProtocolsConfigurationEntry.cs
- FontEmbeddingManager.cs
- ComponentSerializationService.cs
- AsyncDataRequest.cs
- WriteFileContext.cs
- RadioButtonDesigner.cs
- CodeIdentifiers.cs
- TextTreeNode.cs
- CultureInfo.cs
- RegistrationServices.cs
- DBSchemaRow.cs
- SymbolType.cs
- InfoCardSymmetricAlgorithm.cs
- TextRangeEditLists.cs
- COM2ExtendedUITypeEditor.cs
- CachingHintValidation.cs
- SqlNode.cs
- Model3D.cs