Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / SharedPersonalizationStateInfo.cs / 1305376 / SharedPersonalizationStateInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; [Serializable] 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; [Serializable] 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
- HostingEnvironmentSection.cs
- EntryWrittenEventArgs.cs
- DataBoundLiteralControl.cs
- EpmTargetPathSegment.cs
- PatternMatcher.cs
- NativeObjectSecurity.cs
- RelationalExpressions.cs
- RouteTable.cs
- AssociativeAggregationOperator.cs
- XsltContext.cs
- RectangleGeometry.cs
- IPipelineRuntime.cs
- SchemaImporterExtensionElement.cs
- AnimatedTypeHelpers.cs
- DuplicateDetector.cs
- BrushConverter.cs
- AutomationPropertyInfo.cs
- EntityCommandDefinition.cs
- PagesSection.cs
- BitmapEffectvisualstate.cs
- JournalEntry.cs
- FolderLevelBuildProviderCollection.cs
- MessageEncoder.cs
- PropertyGridEditorPart.cs
- UrlUtility.cs
- SoapTypeAttribute.cs
- SchemaImporter.cs
- ControlPropertyNameConverter.cs
- ActivityExecutorDelegateInfo.cs
- StringDictionary.cs
- SoapInteropTypes.cs
- BeginStoryboard.cs
- EnumUnknown.cs
- CurrentChangingEventManager.cs
- DPAPIProtectedConfigurationProvider.cs
- DrawingImage.cs
- OperatingSystem.cs
- HwndHostAutomationPeer.cs
- SettingsPropertyValueCollection.cs
- DockProviderWrapper.cs
- Attribute.cs
- TypeExtension.cs
- FtpWebResponse.cs
- MaterializeFromAtom.cs
- ExpandSegment.cs
- ModelTypeConverter.cs
- CapabilitiesPattern.cs
- VideoDrawing.cs
- mediaclock.cs
- MaskedTextBoxTextEditor.cs
- FixedFlowMap.cs
- CodeRemoveEventStatement.cs
- GrammarBuilder.cs
- WeakReferenceKey.cs
- DisplayMemberTemplateSelector.cs
- JsonReaderDelegator.cs
- SyndicationDeserializer.cs
- NameTable.cs
- PermissionSet.cs
- RtfToXamlLexer.cs
- StackSpiller.Temps.cs
- CloseCollectionAsyncResult.cs
- DataServiceBehavior.cs
- ReservationNotFoundException.cs
- ConfigurationStrings.cs
- OracleColumn.cs
- ExpressionBinding.cs
- sqlser.cs
- FilterEventArgs.cs
- SecurityCriticalDataForSet.cs
- InstanceDataCollection.cs
- GridViewColumnHeader.cs
- ObjectDataSourceWizardForm.cs
- EntityStoreSchemaFilterEntry.cs
- ResourcesGenerator.cs
- WebScriptEnablingElement.cs
- ModelItem.cs
- TextEditorDragDrop.cs
- ScrollChrome.cs
- MenuItem.cs
- SqlDataSourceFilteringEventArgs.cs
- ListBase.cs
- ProviderException.cs
- SAPIEngineTypes.cs
- Int64Storage.cs
- OutOfMemoryException.cs
- EncoderExceptionFallback.cs
- MessageAction.cs
- SqlDataAdapter.cs
- ConfigXmlCDataSection.cs
- AttributeCollection.cs
- DataSourceXmlAttributeAttribute.cs
- DataGridViewDataErrorEventArgs.cs
- DeclarativeConditionsCollection.cs
- OleDbCommand.cs
- ToolBar.cs
- ArgumentValidation.cs
- ObjectContextServiceProvider.cs
- DataGridViewCellLinkedList.cs
- ThreadPool.cs