Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / PartialCachingAttribute.cs / 1 / PartialCachingAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Fragment caching attribute * * Copyright (c) 1999 Microsoft Corporation */ namespace System.Web.UI { using System; using System.Collections; using System.ComponentModel; using System.Security.Permissions; /* * This class defines the PartialCachingAttribute attribute that can be placed on * user controls classes to enable the fragmant caching feature. */ ////// [AttributeUsage(AttributeTargets.Class)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class PartialCachingAttribute : Attribute { private int _duration; ///[To be supplied.] ////// public int Duration { get { return _duration;}} private string _varyByParams; ///[To be supplied.] ////// public string VaryByParams { get { return _varyByParams; } } private string _varyByControls; ///[To be supplied.] ////// public string VaryByControls { get { return _varyByControls; } } private string _varyByCustom; ///[To be supplied.] ////// public string VaryByCustom { get { return _varyByCustom; } } private string _sqlDependency; ///[To be supplied.] ////// public string SqlDependency { get { return _sqlDependency; } } private bool _shared; ///[To be supplied.] ////// public bool Shared { get { return _shared; } } ///[To be supplied.] ////// public PartialCachingAttribute(int duration) { _duration = duration; } ///[To be supplied.] ////// public PartialCachingAttribute(int duration, string varyByParams, string varyByControls, string varyByCustom) { _duration = duration; _varyByParams = varyByParams; _varyByControls = varyByControls; _varyByCustom = varyByCustom; } ///[To be supplied.] ////// public PartialCachingAttribute(int duration, string varyByParams, string varyByControls, string varyByCustom, bool shared) { _duration = duration; _varyByParams = varyByParams; _varyByControls = varyByControls; _varyByCustom = varyByCustom; _shared = shared; } ///[To be supplied.] ////// public PartialCachingAttribute(int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, bool shared) { _duration = duration; _varyByParams = varyByParams; _varyByControls = varyByControls; _varyByCustom = varyByCustom; _shared = shared; _sqlDependency = sqlDependency; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NavigationProperty.cs
- TypeBuilder.cs
- ISFTagAndGuidCache.cs
- CodePropertyReferenceExpression.cs
- HelpEvent.cs
- SqlCaseSimplifier.cs
- ByteRangeDownloader.cs
- Listbox.cs
- COM2ColorConverter.cs
- Separator.cs
- CellLabel.cs
- GroupDescription.cs
- _Events.cs
- ParagraphResult.cs
- HelpInfo.cs
- XmlILIndex.cs
- GenericParameterDataContract.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- HttpRequestCacheValidator.cs
- EnumerableValidator.cs
- IriParsingElement.cs
- CodeConditionStatement.cs
- UnsafeNativeMethodsMilCoreApi.cs
- MethodBody.cs
- DtrList.cs
- WrappingXamlSchemaContext.cs
- XXXInfos.cs
- ValidatingReaderNodeData.cs
- PasswordPropertyTextAttribute.cs
- ConfigurationSettings.cs
- SelfIssuedTokenFactoryCredential.cs
- Clipboard.cs
- CommandDevice.cs
- BaseUriHelper.cs
- PerformanceCounterPermissionEntry.cs
- TreeNodeBindingDepthConverter.cs
- XhtmlBasicTextBoxAdapter.cs
- COM2PropertyPageUITypeConverter.cs
- AssertHelper.cs
- ZipFileInfo.cs
- MarshalDirectiveException.cs
- ExpressionBuilder.cs
- FrameworkElementFactoryMarkupObject.cs
- sqlstateclientmanager.cs
- EditorPart.cs
- xmlformatgeneratorstatics.cs
- Listbox.cs
- PersonalizationDictionary.cs
- TextFormatterContext.cs
- DateTime.cs
- BitmapPalette.cs
- CaseInsensitiveHashCodeProvider.cs
- ByeOperationCD1AsyncResult.cs
- FilterException.cs
- BaseTemplateBuildProvider.cs
- ScriptingRoleServiceSection.cs
- PaperSize.cs
- SettingsSection.cs
- Int32RectConverter.cs
- EntityCommandCompilationException.cs
- ShapingEngine.cs
- MethodBuilder.cs
- DebugInfoGenerator.cs
- PipelineComponent.cs
- ColumnResult.cs
- XamlReaderHelper.cs
- GeneralTransform3DTo2D.cs
- DataGridViewImageColumn.cs
- CurrentTimeZone.cs
- OrthographicCamera.cs
- HttpFileCollection.cs
- EpmSourcePathSegment.cs
- ColorTransform.cs
- MultiSelector.cs
- GraphicsContainer.cs
- PolicyStatement.cs
- MessageBox.cs
- PasswordTextNavigator.cs
- InputLangChangeRequestEvent.cs
- DrawingCollection.cs
- ClassDataContract.cs
- DocumentPageView.cs
- DataPagerFieldItem.cs
- DocumentPageView.cs
- fixedPageContentExtractor.cs
- CodeDirectiveCollection.cs
- OneOfScalarConst.cs
- ByteStreamMessageEncoderFactory.cs
- ParserContext.cs
- TextBounds.cs
- EndpointBehaviorElementCollection.cs
- CodeAttributeArgumentCollection.cs
- Effect.cs
- ModuleElement.cs
- ISessionStateStore.cs
- __ConsoleStream.cs
- PointCollection.cs
- CodeCommentStatement.cs
- WeakReferenceList.cs
- CatalogZoneDesigner.cs