Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / SharedPersonalizationStateInfo.cs / 2 / 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;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ZipPackagePart.cs
- DataServiceQuery.cs
- SmtpTransport.cs
- XmlName.cs
- MetadataProperty.cs
- HttpStreamFormatter.cs
- BuildProviderCollection.cs
- HtmlTable.cs
- Brush.cs
- TextContainerChangedEventArgs.cs
- LineGeometry.cs
- StatusBar.cs
- MsdtcWrapper.cs
- SqlExpander.cs
- QueueProcessor.cs
- DataBindingCollectionEditor.cs
- precedingsibling.cs
- ResourceDescriptionAttribute.cs
- CallSiteBinder.cs
- StylusTouchDevice.cs
- GeometryValueSerializer.cs
- ObjectHelper.cs
- ResourcePermissionBase.cs
- DetailsViewInsertEventArgs.cs
- QilLoop.cs
- Decimal.cs
- DbConnectionPoolIdentity.cs
- UriExt.cs
- StreamGeometryContext.cs
- AsyncCompletedEventArgs.cs
- ProfilePropertySettingsCollection.cs
- MappingSource.cs
- DataServiceQueryOfT.cs
- DCSafeHandle.cs
- PolyLineSegmentFigureLogic.cs
- CollectionAdapters.cs
- AdapterUtil.cs
- SafeViewOfFileHandle.cs
- SafeNativeMethodsMilCoreApi.cs
- ISAPIWorkerRequest.cs
- NameObjectCollectionBase.cs
- RepeatButtonAutomationPeer.cs
- XmlIlGenerator.cs
- ServicePoint.cs
- ResumeStoryboard.cs
- StringDictionaryWithComparer.cs
- XmlSchemaSimpleContentExtension.cs
- Image.cs
- ImageMap.cs
- RangeContentEnumerator.cs
- UnsafeNativeMethods.cs
- SafeHandles.cs
- SQLGuidStorage.cs
- OdbcStatementHandle.cs
- CollectionDataContract.cs
- ScriptRegistrationManager.cs
- LookupBindingPropertiesAttribute.cs
- MatrixAnimationBase.cs
- ListControl.cs
- CodeComment.cs
- ObjectDataSourceDesigner.cs
- DescendantOverDescendantQuery.cs
- SourceChangedEventArgs.cs
- StringResourceManager.cs
- PageCache.cs
- CodeTypeParameter.cs
- FixedNode.cs
- FixedSOMPageElement.cs
- HttpCapabilitiesBase.cs
- SchemaImporter.cs
- NativeMethods.cs
- AccessibleObject.cs
- RecordsAffectedEventArgs.cs
- EntitySetRetriever.cs
- SymbolTable.cs
- PassportAuthentication.cs
- TextAdaptor.cs
- DefaultHttpHandler.cs
- SHA256.cs
- SplineQuaternionKeyFrame.cs
- RoleManagerSection.cs
- _TransmitFileOverlappedAsyncResult.cs
- ListCollectionView.cs
- PackageRelationshipCollection.cs
- WindowsFormsHostPropertyMap.cs
- DataGridCellsPresenter.cs
- GraphicsContainer.cs
- BaseCodePageEncoding.cs
- DbParameterCollectionHelper.cs
- errorpatternmatcher.cs
- TextDocumentView.cs
- CqlIdentifiers.cs
- ResourceReader.cs
- HostedHttpRequestAsyncResult.cs
- SynchronizedCollection.cs
- Queue.cs
- GetIsBrowserClientRequest.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ApplyHostConfigurationBehavior.cs
- XmlSchema.cs