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
- RichTextBoxDesigner.cs
- SqlInfoMessageEvent.cs
- UpdateEventArgs.cs
- SingleAnimationUsingKeyFrames.cs
- CalendarSelectionChangedEventArgs.cs
- ObjectDataSource.cs
- SiteMapDataSourceView.cs
- ReadOnlyHierarchicalDataSourceView.cs
- MetadataItemEmitter.cs
- FormViewCommandEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- XmlLanguage.cs
- CompilerResults.cs
- SessionStateUtil.cs
- HelpInfo.cs
- DataTablePropertyDescriptor.cs
- FontStyleConverter.cs
- ConfigurationStrings.cs
- FileRecordSequenceCompletedAsyncResult.cs
- FixedBufferAttribute.cs
- BitmapEffectInputData.cs
- HwndProxyElementProvider.cs
- FusionWrap.cs
- EncodingStreamWrapper.cs
- ProjectionCamera.cs
- InfoCardSymmetricAlgorithm.cs
- SplitContainer.cs
- LockedActivityGlyph.cs
- NodeLabelEditEvent.cs
- SrgsSemanticInterpretationTag.cs
- IfElseDesigner.xaml.cs
- SqlTriggerAttribute.cs
- PageStatePersister.cs
- NamespaceEmitter.cs
- PropertyDescriptorGridEntry.cs
- NonSerializedAttribute.cs
- UrlAuthFailedErrorFormatter.cs
- FileIOPermission.cs
- WebRequestModulesSection.cs
- CodeDomLoader.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DecoderNLS.cs
- DurationConverter.cs
- Message.cs
- _NestedSingleAsyncResult.cs
- SchemaImporterExtensionElement.cs
- ThreadInterruptedException.cs
- SecurityException.cs
- MarkerProperties.cs
- OracleDataReader.cs
- Typography.cs
- RsaSecurityKey.cs
- Ray3DHitTestResult.cs
- ComNativeDescriptor.cs
- HelpEvent.cs
- ExpressionNode.cs
- RawStylusSystemGestureInputReport.cs
- oledbmetadatacollectionnames.cs
- PageTheme.cs
- TableTextElementCollectionInternal.cs
- CacheEntry.cs
- DynamicValidatorEventArgs.cs
- QueryCacheManager.cs
- CompilerScopeManager.cs
- ThaiBuddhistCalendar.cs
- NotifyIcon.cs
- Bookmark.cs
- UnionCodeGroup.cs
- LogicalChannel.cs
- XpsException.cs
- Metadata.cs
- JsonUriDataContract.cs
- OutputCacheProfile.cs
- Effect.cs
- WinFormsComponentEditor.cs
- ScriptingRoleServiceSection.cs
- BinHexDecoder.cs
- BoolExpr.cs
- FormViewModeEventArgs.cs
- RowToFieldTransformer.cs
- EnumBuilder.cs
- HighlightComponent.cs
- XmlSchemaSet.cs
- ChannelListenerBase.cs
- LabelEditEvent.cs
- WorkflowService.cs
- SqlCommand.cs
- FacetChecker.cs
- PathParser.cs
- DeflateStream.cs
- WrappedIUnknown.cs
- RemoteWebConfigurationHost.cs
- CodeAttributeDeclarationCollection.cs
- Polyline.cs
- DoubleCollectionValueSerializer.cs
- Transform.cs
- BamlCollectionHolder.cs
- SqlGatherProducedAliases.cs
- PowerStatus.cs
- ConnectionInterfaceCollection.cs