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
- Int32Rect.cs
- DbConvert.cs
- PerformanceCountersElement.cs
- WizardStepBase.cs
- PersistencePipeline.cs
- PathData.cs
- EditorAttribute.cs
- NativeRecognizer.cs
- ArrayWithOffset.cs
- HyperLinkField.cs
- DmlSqlGenerator.cs
- DataGridBoolColumn.cs
- SizeFConverter.cs
- ErrorFormatter.cs
- EventRoute.cs
- ProofTokenCryptoHandle.cs
- ReferenceConverter.cs
- SoapTransportImporter.cs
- DocumentOrderQuery.cs
- TreeView.cs
- Condition.cs
- ContextProperty.cs
- ProcessExitedException.cs
- XmlEncodedRawTextWriter.cs
- SoapFault.cs
- CodeConditionStatement.cs
- Root.cs
- FixedTextPointer.cs
- UrlMappingsSection.cs
- EncoderFallback.cs
- FileSystemEventArgs.cs
- BamlTreeUpdater.cs
- ZipIOExtraField.cs
- RegionInfo.cs
- ListManagerBindingsCollection.cs
- XPathException.cs
- RootProfilePropertySettingsCollection.cs
- BamlCollectionHolder.cs
- WebBrowserUriTypeConverter.cs
- ErrorHandler.cs
- URI.cs
- RuntimeTrackingProfile.cs
- QuaternionValueSerializer.cs
- IdentityManager.cs
- TypeDelegator.cs
- IndependentlyAnimatedPropertyMetadata.cs
- EmbeddedObject.cs
- FixedSOMFixedBlock.cs
- TextEditor.cs
- Compilation.cs
- SqlLiftWhereClauses.cs
- XmlStreamStore.cs
- SplitterCancelEvent.cs
- DoubleAnimationClockResource.cs
- ResolvePPIDRequest.cs
- SqlAliaser.cs
- ColumnMapCopier.cs
- ObjectDataSourceDisposingEventArgs.cs
- StorageEntitySetMapping.cs
- ComboBoxRenderer.cs
- _LoggingObject.cs
- StoreItemCollection.Loader.cs
- SchemaCollectionPreprocessor.cs
- HandoffBehavior.cs
- SamlAssertion.cs
- Queue.cs
- _RequestCacheProtocol.cs
- WriteTimeStream.cs
- DeviceContexts.cs
- PolyLineSegment.cs
- ResourceManager.cs
- DesignerAttribute.cs
- InputMethod.cs
- CodeParameterDeclarationExpressionCollection.cs
- BaseComponentEditor.cs
- BevelBitmapEffect.cs
- HGlobalSafeHandle.cs
- TextContainer.cs
- ExpressionsCollectionConverter.cs
- SqlBooleanMismatchVisitor.cs
- GeneratedCodeAttribute.cs
- FixedSOMTableCell.cs
- CorePropertiesFilter.cs
- ErrorInfoXmlDocument.cs
- DataGridViewCheckBoxCell.cs
- EntityClientCacheKey.cs
- AnnotationComponentManager.cs
- SchemaElement.cs
- PDBReader.cs
- HorizontalAlignConverter.cs
- DesignerSerializationOptionsAttribute.cs
- ExceptionUtil.cs
- IntPtr.cs
- TrackingMemoryStream.cs
- SQLDoubleStorage.cs
- unsafenativemethodstextservices.cs
- XmlRootAttribute.cs
- HighContrastHelper.cs
- PhysicalAddress.cs
- CornerRadiusConverter.cs