Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebParts / SharedPersonalizationStateInfo.cs / 5 / 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
- coordinatorfactory.cs
- XamlTemplateSerializer.cs
- XMLUtil.cs
- ObjectSelectorEditor.cs
- MSHTMLHost.cs
- UpdatePanelTriggerCollection.cs
- CompositeDataBoundControl.cs
- XPathNodeHelper.cs
- GeometryDrawing.cs
- StringBuilder.cs
- PointAnimationUsingPath.cs
- SecurityException.cs
- Collection.cs
- SqlNotificationEventArgs.cs
- AsymmetricSignatureFormatter.cs
- SrgsItemList.cs
- BindingOperations.cs
- DbConnectionStringCommon.cs
- EdmItemError.cs
- TextBlock.cs
- QilScopedVisitor.cs
- WebPageTraceListener.cs
- MarshalDirectiveException.cs
- InstalledFontCollection.cs
- SoapRpcMethodAttribute.cs
- BinaryEditor.cs
- System.Data_BID.cs
- UnorderedHashRepartitionStream.cs
- MbpInfo.cs
- ValidatingReaderNodeData.cs
- ConfigurationElementCollection.cs
- PropertyValueUIItem.cs
- InnerItemCollectionView.cs
- ClusterSafeNativeMethods.cs
- HostnameComparisonMode.cs
- NamespaceDecl.cs
- brushes.cs
- SymmetricAlgorithm.cs
- _BasicClient.cs
- WorkflowNamespace.cs
- SqlErrorCollection.cs
- HtmlEmptyTagControlBuilder.cs
- TimeSpanValidator.cs
- _UncName.cs
- DocumentViewerConstants.cs
- XmlNamespaceDeclarationsAttribute.cs
- RegexStringValidator.cs
- GZipStream.cs
- ObjectCloneHelper.cs
- IDispatchConstantAttribute.cs
- LocalizabilityAttribute.cs
- WmlLinkAdapter.cs
- DataGridViewUtilities.cs
- UnSafeCharBuffer.cs
- DesignerActionList.cs
- ImageCodecInfoPrivate.cs
- RelationshipConstraintValidator.cs
- RotateTransform.cs
- Vector3DConverter.cs
- GraphicsPathIterator.cs
- MimeMapping.cs
- Serializer.cs
- HelloMessageCD1.cs
- ReadOnlyTernaryTree.cs
- HtmlTableCell.cs
- GreenMethods.cs
- TreeViewCancelEvent.cs
- SqlNodeTypeOperators.cs
- Assert.cs
- TypeDescriptionProviderAttribute.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ChameleonKey.cs
- DocumentGrid.cs
- PolyBezierSegment.cs
- NameService.cs
- OperatorExpressions.cs
- MultiBinding.cs
- BStrWrapper.cs
- ServiceOperationParameter.cs
- AssemblyBuilder.cs
- PostBackOptions.cs
- ApplicationInfo.cs
- JsonSerializer.cs
- TouchDevice.cs
- ElementNotEnabledException.cs
- OleAutBinder.cs
- TabletDevice.cs
- IntPtr.cs
- DataRowView.cs
- DataColumnPropertyDescriptor.cs
- OpCellTreeNode.cs
- CollectionViewGroupInternal.cs
- ClipboardData.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SoapElementAttribute.cs
- MsdtcWrapper.cs
- MemoryPressure.cs
- Literal.cs
- SelectionRange.cs
- ProviderException.cs