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 / 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
- TextRangeSerialization.cs
- ConnectionProviderAttribute.cs
- EntityViewGenerationAttribute.cs
- SqlUdtInfo.cs
- DetailsViewInsertedEventArgs.cs
- TextBoxAutomationPeer.cs
- GroupBox.cs
- CompleteWizardStep.cs
- RegexNode.cs
- _OSSOCK.cs
- ElementMarkupObject.cs
- MarshalByValueComponent.cs
- CryptoHelper.cs
- XmlDataDocument.cs
- Util.cs
- DataTrigger.cs
- SqlConnectionManager.cs
- ListDictionaryInternal.cs
- HtmlInputPassword.cs
- ComboBox.cs
- FileNotFoundException.cs
- EnumCodeDomSerializer.cs
- UserControlCodeDomTreeGenerator.cs
- ButtonAutomationPeer.cs
- SessionEndedEventArgs.cs
- TextBreakpoint.cs
- CalendarKeyboardHelper.cs
- ImageCodecInfoPrivate.cs
- WebServicesInteroperability.cs
- VirtualizingPanel.cs
- TextPointerBase.cs
- MetadataUtilsSmi.cs
- SafeNativeMethods.cs
- DecoderBestFitFallback.cs
- KeyFrames.cs
- PreservationFileReader.cs
- PageWrapper.cs
- DataTemplate.cs
- BasicHttpSecurityElement.cs
- DockPanel.cs
- MachineKey.cs
- Point3DCollectionConverter.cs
- ChtmlSelectionListAdapter.cs
- XmlILIndex.cs
- CompositionTarget.cs
- Types.cs
- ScriptReferenceEventArgs.cs
- TextTreeInsertElementUndoUnit.cs
- MatrixTransform3D.cs
- PropertyGridView.cs
- HotSpot.cs
- OleDbPropertySetGuid.cs
- SafeProcessHandle.cs
- AdjustableArrowCap.cs
- XMLSchema.cs
- DesignerAutoFormatStyle.cs
- StateMachine.cs
- SevenBitStream.cs
- ValidationRule.cs
- TimelineClockCollection.cs
- DiscoveryDocumentLinksPattern.cs
- MatrixTransform.cs
- ZipIOLocalFileBlock.cs
- ProfileParameter.cs
- _HeaderInfoTable.cs
- StateMachineHelpers.cs
- BinaryFormatter.cs
- PersonalizationStateInfo.cs
- CodeTypeOfExpression.cs
- DayRenderEvent.cs
- DefaultValueTypeConverter.cs
- UnsafeNativeMethodsCLR.cs
- Win32PrintDialog.cs
- SelectionRangeConverter.cs
- __Error.cs
- TextParagraphCache.cs
- DynamicResourceExtension.cs
- FontEmbeddingManager.cs
- Expression.cs
- ExpressionValueEditor.cs
- HtmlCalendarAdapter.cs
- ASCIIEncoding.cs
- EpmCustomContentWriterNodeData.cs
- SiteMapProvider.cs
- ScriptDescriptor.cs
- ObjectDataSourceStatusEventArgs.cs
- InvalidPropValue.cs
- CodeGroup.cs
- ConfigUtil.cs
- SocketInformation.cs
- DataGridViewCellCancelEventArgs.cs
- RegexMatch.cs
- BmpBitmapEncoder.cs
- IndexedGlyphRun.cs
- ScriptingAuthenticationServiceSection.cs
- Padding.cs
- SqlCommand.cs
- Viewport2DVisual3D.cs
- InternalSafeNativeMethods.cs
- BindingCompleteEventArgs.cs