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
- Msmq3PoisonHandler.cs
- CompoundFileStorageReference.cs
- WindowsIPAddress.cs
- XmlSchemaValidationException.cs
- Inline.cs
- TriggerAction.cs
- XmlSchemaAnyAttribute.cs
- ActiveXHelper.cs
- FileUtil.cs
- Span.cs
- ThreadAbortException.cs
- BindingContext.cs
- ClusterSafeNativeMethods.cs
- PolyBezierSegmentFigureLogic.cs
- BypassElementCollection.cs
- JapaneseLunisolarCalendar.cs
- DispatchChannelSink.cs
- EditorPartChrome.cs
- FragmentNavigationEventArgs.cs
- SiteOfOriginPart.cs
- ServicePointManagerElement.cs
- IgnoreSectionHandler.cs
- IList.cs
- IsolatedStorageFilePermission.cs
- ExpandoClass.cs
- Matrix.cs
- WebServiceData.cs
- Currency.cs
- ByteStorage.cs
- ImageFormat.cs
- DataGridViewImageColumn.cs
- Listener.cs
- AnnotationComponentManager.cs
- HandlerWithFactory.cs
- TableDetailsRow.cs
- PageSettings.cs
- XmlSignatureProperties.cs
- URLAttribute.cs
- ObservableCollection.cs
- SocketInformation.cs
- TemplateInstanceAttribute.cs
- mactripleDES.cs
- ExceptionNotification.cs
- Bitmap.cs
- _BufferOffsetSize.cs
- Rotation3D.cs
- ContractType.cs
- ProfileEventArgs.cs
- StorageMappingFragment.cs
- _ConnectOverlappedAsyncResult.cs
- ModuleConfigurationInfo.cs
- ThicknessAnimationBase.cs
- VisualCollection.cs
- BitArray.cs
- MethodCallExpression.cs
- StateFinalizationDesigner.cs
- LZCodec.cs
- RadioButtonList.cs
- VirtualPath.cs
- DataGridViewRowPostPaintEventArgs.cs
- ViewStateChangedEventArgs.cs
- ViewManager.cs
- DBSqlParserTableCollection.cs
- ReadOnlyTernaryTree.cs
- SendActivityDesignerTheme.cs
- StdRegProviderWrapper.cs
- MatrixTransform3D.cs
- ToolStripSplitStackLayout.cs
- FaultFormatter.cs
- Point.cs
- PerfCounterSection.cs
- RemotingAttributes.cs
- PreProcessor.cs
- DataObjectFieldAttribute.cs
- Run.cs
- DependencyPropertyValueSerializer.cs
- GradientBrush.cs
- TextCompositionEventArgs.cs
- ToolboxBitmapAttribute.cs
- TypeUtils.cs
- AnonymousIdentificationModule.cs
- WebUtil.cs
- SafeFreeMibTable.cs
- StateWorkerRequest.cs
- FlowDocumentReader.cs
- Line.cs
- TemplateNameScope.cs
- ToggleButtonAutomationPeer.cs
- ListMarkerLine.cs
- AutomationPatternInfo.cs
- LoginViewDesigner.cs
- QueryParameter.cs
- ServiceReference.cs
- DateTimeValueSerializerContext.cs
- DateTimeOffset.cs
- OpCodes.cs
- RectKeyFrameCollection.cs
- Component.cs
- TextEditorThreadLocalStore.cs
- FirstQueryOperator.cs