Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebParts / SharedPersonalizationStateInfo.cs / 1 / SharedPersonalizationStateInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Security.Permissions; [Serializable] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class SharedPersonalizationStateInfo : PersonalizationStateInfo { private int _sizeOfPersonalizations; private int _countOfPersonalizations; public SharedPersonalizationStateInfo(string path, DateTime lastUpdatedDate, int size, int sizeOfPersonalizations, int countOfPersonalizations) : base(path, lastUpdatedDate, size) { PersonalizationProviderHelper.CheckNegativeInteger(sizeOfPersonalizations, "sizeOfPersonalizations"); PersonalizationProviderHelper.CheckNegativeInteger(countOfPersonalizations, "countOfPersonalizations"); _sizeOfPersonalizations = sizeOfPersonalizations; _countOfPersonalizations = countOfPersonalizations; } public int SizeOfPersonalizations { get { return _sizeOfPersonalizations; } } public int CountOfPersonalizations { get { return _countOfPersonalizations; } } } } // 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; [Serializable] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class SharedPersonalizationStateInfo : PersonalizationStateInfo { private int _sizeOfPersonalizations; private int _countOfPersonalizations; public SharedPersonalizationStateInfo(string path, DateTime lastUpdatedDate, int size, int sizeOfPersonalizations, int countOfPersonalizations) : base(path, lastUpdatedDate, size) { PersonalizationProviderHelper.CheckNegativeInteger(sizeOfPersonalizations, "sizeOfPersonalizations"); PersonalizationProviderHelper.CheckNegativeInteger(countOfPersonalizations, "countOfPersonalizations"); _sizeOfPersonalizations = sizeOfPersonalizations; _countOfPersonalizations = countOfPersonalizations; } public int SizeOfPersonalizations { get { return _sizeOfPersonalizations; } } public int CountOfPersonalizations { get { return _countOfPersonalizations; } } } } // 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
- CodeTypeMember.cs
- SynchronizingStream.cs
- Substitution.cs
- SafeEventLogWriteHandle.cs
- FamilyTypeface.cs
- RecordBuilder.cs
- NumberFunctions.cs
- OutOfMemoryException.cs
- ReadOnlyDictionary.cs
- DynamicMetaObject.cs
- XmlUtf8RawTextWriter.cs
- MatrixCamera.cs
- ComboBoxRenderer.cs
- ExtenderProviderService.cs
- ToolBarOverflowPanel.cs
- Localizer.cs
- CodePageEncoding.cs
- BStrWrapper.cs
- ListBoxItem.cs
- Rectangle.cs
- Msec.cs
- XmlSchemaAttribute.cs
- LinqDataSourceValidationException.cs
- OleDbConnectionFactory.cs
- WebPartEventArgs.cs
- Calendar.cs
- WebControl.cs
- RangeContentEnumerator.cs
- SchemaNotation.cs
- DispatcherHookEventArgs.cs
- ThemeableAttribute.cs
- XdrBuilder.cs
- GeneratedContractType.cs
- ParallelQuery.cs
- ToolStripContentPanelRenderEventArgs.cs
- CreateUserWizard.cs
- OutputCacheSettings.cs
- StateChangeEvent.cs
- SystemNetworkInterface.cs
- Win32.cs
- BufferedConnection.cs
- PairComparer.cs
- FacetValues.cs
- GeneralTransform2DTo3DTo2D.cs
- SqlInternalConnectionSmi.cs
- DependencyObject.cs
- TypeReference.cs
- ValidatingReaderNodeData.cs
- WriteableOnDemandStream.cs
- ToolZone.cs
- Vector3D.cs
- MediaEntryAttribute.cs
- HyperLinkColumn.cs
- ScriptingSectionGroup.cs
- BaseCodeDomTreeGenerator.cs
- WinFormsComponentEditor.cs
- MeshGeometry3D.cs
- PointCollection.cs
- ClrPerspective.cs
- DesignerUtils.cs
- MimeFormatter.cs
- ProfileServiceManager.cs
- TagPrefixAttribute.cs
- ListViewCommandEventArgs.cs
- EventSetter.cs
- LinqDataSourceView.cs
- SQLInt32Storage.cs
- LogAppendAsyncResult.cs
- CursorInteropHelper.cs
- BitArray.cs
- DesignObjectWrapper.cs
- AttributeExtensions.cs
- ExecutionContext.cs
- EdmSchemaError.cs
- indexingfiltermarshaler.cs
- GotoExpression.cs
- PagesSection.cs
- IDispatchConstantAttribute.cs
- WebPartAuthorizationEventArgs.cs
- TextViewElement.cs
- XhtmlBasicValidatorAdapter.cs
- SupportingTokenListenerFactory.cs
- HTTPNotFoundHandler.cs
- TableDetailsCollection.cs
- Transform.cs
- AbandonedMutexException.cs
- DataGridViewImageCell.cs
- UserControl.cs
- ThreadExceptionDialog.cs
- BlobPersonalizationState.cs
- UInt16Storage.cs
- CallbackWrapper.cs
- ControlCollection.cs
- CellCreator.cs
- FieldDescriptor.cs
- FixedPageAutomationPeer.cs
- Int32RectConverter.cs
- ConfigurationManager.cs
- ToolStripContainer.cs
- ApplicationDirectoryMembershipCondition.cs