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
- HMAC.cs
- DocumentPage.cs
- FormsAuthentication.cs
- PageCatalogPart.cs
- ComboBox.cs
- UnknownWrapper.cs
- SiteMapDataSourceView.cs
- Empty.cs
- XmlSchemaAnnotation.cs
- InstanceDataCollectionCollection.cs
- XmlNodeReader.cs
- ModelUIElement3D.cs
- DirectoryGroupQuery.cs
- TabPage.cs
- NonBatchDirectoryCompiler.cs
- TextEditorContextMenu.cs
- StylusPointPropertyInfoDefaults.cs
- DataGridRowDetailsEventArgs.cs
- AttributeQuery.cs
- StateDesignerConnector.cs
- QEncodedStream.cs
- AnnotationService.cs
- ClientUtils.cs
- Rules.cs
- ScrollBarAutomationPeer.cs
- CompoundFileStorageReference.cs
- PersonalizableAttribute.cs
- DataGridViewColumnStateChangedEventArgs.cs
- DataGridHelper.cs
- XmlQueryTypeFactory.cs
- ToolStripProgressBar.cs
- WMICapabilities.cs
- ApplicationCommands.cs
- WebHeaderCollection.cs
- Binding.cs
- DocumentPaginator.cs
- ArraySegment.cs
- RealizationContext.cs
- ContainerVisual.cs
- BitmapSizeOptions.cs
- WorkflowInstance.cs
- LOSFormatter.cs
- XmlSchemaAnnotated.cs
- SafeNativeMethodsCLR.cs
- EnumMember.cs
- WpfWebRequestHelper.cs
- SafeSecurityHandles.cs
- DataObject.cs
- FrameworkObject.cs
- HighlightVisual.cs
- WrappedIUnknown.cs
- AsyncStreamReader.cs
- Model3D.cs
- ParamArrayAttribute.cs
- RoleGroupCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- HostProtectionException.cs
- documentation.cs
- TypeUnloadedException.cs
- AttributeUsageAttribute.cs
- DynamicRenderer.cs
- WebPartChrome.cs
- NativeRightsManagementAPIsStructures.cs
- TypeConverterAttribute.cs
- HtmlControl.cs
- WebGetAttribute.cs
- IntegerValidatorAttribute.cs
- WebPartEditorApplyVerb.cs
- ProcessExitedException.cs
- DataGridViewCellCancelEventArgs.cs
- CssStyleCollection.cs
- HttpContext.cs
- UpdateManifestForBrowserApplication.cs
- InputMethodStateChangeEventArgs.cs
- FormsAuthenticationCredentials.cs
- ErrorEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- BitmapEffectOutputConnector.cs
- MissingFieldException.cs
- ChooseAction.cs
- DataPagerCommandEventArgs.cs
- EntityKey.cs
- InvokeAction.cs
- TextBoxView.cs
- EnvelopeVersion.cs
- TextAction.cs
- _SslSessionsCache.cs
- ScriptResourceInfo.cs
- COM2Properties.cs
- SqlUnionizer.cs
- AutomationPatternInfo.cs
- PersistenceException.cs
- GridPatternIdentifiers.cs
- SiteIdentityPermission.cs
- ProcessManager.cs
- MatrixCamera.cs
- ContentPropertyAttribute.cs
- IncrementalHitTester.cs
- RuntimeTransactionHandle.cs
- RewritingSimplifier.cs