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
- XmlSortKeyAccumulator.cs
- X509ChainPolicy.cs
- TypeResolvingOptionsAttribute.cs
- AsyncCompletedEventArgs.cs
- PrintDialogException.cs
- SubMenuStyleCollection.cs
- PlainXmlDeserializer.cs
- WebMessageEncoderFactory.cs
- MonikerUtility.cs
- ColorKeyFrameCollection.cs
- CompModHelpers.cs
- Model3D.cs
- NoneExcludedImageIndexConverter.cs
- ValidationErrorEventArgs.cs
- UnionCodeGroup.cs
- SafeSecurityHandles.cs
- BrushValueSerializer.cs
- CommonXSendMessage.cs
- TargetInvocationException.cs
- StatusStrip.cs
- ResourceProviderFactory.cs
- DigitShape.cs
- FileNotFoundException.cs
- CodeCompileUnit.cs
- DataSysAttribute.cs
- AspCompat.cs
- Accessible.cs
- ConfigurationConverterBase.cs
- ObjectToIdCache.cs
- TextDecorationCollection.cs
- WinEventHandler.cs
- SetMemberBinder.cs
- TcpClientChannel.cs
- RelatedPropertyManager.cs
- BuildProvider.cs
- AccessorTable.cs
- datacache.cs
- ChannelTokenTypeConverter.cs
- DialogResultConverter.cs
- TransformedBitmap.cs
- LifetimeServices.cs
- DataPager.cs
- Semaphore.cs
- ServiceBusyException.cs
- FilterElement.cs
- BitmapData.cs
- Internal.cs
- basevalidator.cs
- ConfigXmlWhitespace.cs
- Reference.cs
- SecurityTokenResolver.cs
- NavigationService.cs
- cryptoapiTransform.cs
- UIntPtr.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- RegisteredScript.cs
- FastPropertyAccessor.cs
- ExpressionList.cs
- ComboBoxAutomationPeer.cs
- ReflectionServiceProvider.cs
- ObjectDataSourceSelectingEventArgs.cs
- shaper.cs
- OdbcEnvironment.cs
- DataControlImageButton.cs
- DataRowView.cs
- BorderSidesEditor.cs
- MenuBindingsEditorForm.cs
- UrlMappingsModule.cs
- Tablet.cs
- InkCanvasSelectionAdorner.cs
- PersistNameAttribute.cs
- ProfilePropertySettings.cs
- SqlException.cs
- LogStore.cs
- RowUpdatingEventArgs.cs
- graph.cs
- FontSourceCollection.cs
- LoginName.cs
- ProviderConnectionPoint.cs
- DBCSCodePageEncoding.cs
- FixedNode.cs
- HtmlShimManager.cs
- TransformGroup.cs
- UIElement.cs
- WebServiceMethodData.cs
- OleDbPropertySetGuid.cs
- BinaryFormatterWriter.cs
- InkCanvasInnerCanvas.cs
- TextServicesCompartment.cs
- EnvelopedSignatureTransform.cs
- XmlAttributeCache.cs
- BuilderPropertyEntry.cs
- DashStyle.cs
- WinFormsSecurity.cs
- XmlBindingWorker.cs
- AttributeConverter.cs
- DetailsViewPageEventArgs.cs
- EntityDataSourceColumn.cs
- TraceUtility.cs
- WmlLinkAdapter.cs