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
- ISFTagAndGuidCache.cs
- EndpointAddressMessageFilter.cs
- DateTimePicker.cs
- MemberPathMap.cs
- ModulesEntry.cs
- ChangePassword.cs
- DynamicResourceExtension.cs
- CachedCompositeFamily.cs
- VScrollProperties.cs
- ScrollItemProviderWrapper.cs
- Knowncolors.cs
- RelationshipWrapper.cs
- Pool.cs
- RegexRunner.cs
- _LocalDataStore.cs
- TraceSource.cs
- Encoder.cs
- Membership.cs
- CheckBoxPopupAdapter.cs
- Encoder.cs
- SubMenuStyleCollection.cs
- XsdDateTime.cs
- RepeaterDesigner.cs
- SizeAnimationUsingKeyFrames.cs
- XmlSignatureManifest.cs
- AtlasWeb.Designer.cs
- DataGridRowClipboardEventArgs.cs
- oledbconnectionstring.cs
- ExpandableObjectConverter.cs
- DataAccessException.cs
- SystemIcons.cs
- SmtpReplyReaderFactory.cs
- TargetPerspective.cs
- PopOutPanel.cs
- FrugalList.cs
- OdbcConnectionFactory.cs
- BinaryMessageEncoder.cs
- precedingsibling.cs
- MenuAdapter.cs
- CounterSet.cs
- TextProviderWrapper.cs
- HashStream.cs
- InitializationEventAttribute.cs
- Context.cs
- BitmapEffectGroup.cs
- User.cs
- DataRowView.cs
- Config.cs
- XmlNamedNodeMap.cs
- XmlTextAttribute.cs
- DocumentPageTextView.cs
- ProviderSettings.cs
- base64Transforms.cs
- OleDbCommandBuilder.cs
- ObjectDataSourceFilteringEventArgs.cs
- Properties.cs
- XmlResolver.cs
- HMAC.cs
- AnimationClock.cs
- DesignerFrame.cs
- UnaryQueryOperator.cs
- BehaviorService.cs
- StreamMarshaler.cs
- DataGridViewSelectedCellCollection.cs
- Bezier.cs
- SizeConverter.cs
- DateTimeSerializationSection.cs
- SqlRowUpdatedEvent.cs
- PagedDataSource.cs
- StdValidatorsAndConverters.cs
- BinaryObjectReader.cs
- BatchStream.cs
- IItemContainerGenerator.cs
- SqlResolver.cs
- ContentElement.cs
- OdbcError.cs
- SimpleHandlerBuildProvider.cs
- BufferedGraphicsManager.cs
- EmbeddedMailObject.cs
- DataBindingHandlerAttribute.cs
- IntPtr.cs
- WinFormsComponentEditor.cs
- DocumentReference.cs
- HttpProfileGroupBase.cs
- IProvider.cs
- CacheChildrenQuery.cs
- NamespaceMapping.cs
- EmulateRecognizeCompletedEventArgs.cs
- ProcessThreadCollection.cs
- XmlnsPrefixAttribute.cs
- XmlProcessingInstruction.cs
- CodeConditionStatement.cs
- LongMinMaxAggregationOperator.cs
- Trace.cs
- WebDisplayNameAttribute.cs
- Point3DValueSerializer.cs
- Bidi.cs
- ContextQuery.cs
- AncillaryOps.cs
- OracleException.cs