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
- GlyphsSerializer.cs
- PrintPageEvent.cs
- XmlSchemaGroupRef.cs
- TextEditorSpelling.cs
- SyndicationDeserializer.cs
- PageClientProxyGenerator.cs
- TreeNodeClickEventArgs.cs
- dataSvcMapFileLoader.cs
- Run.cs
- PageRanges.cs
- StringWriter.cs
- OdbcInfoMessageEvent.cs
- XmlSchemaAnnotation.cs
- ColorAnimationUsingKeyFrames.cs
- DispatcherObject.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- ModifiableIteratorCollection.cs
- HostSecurityManager.cs
- Style.cs
- Int32AnimationBase.cs
- HorizontalAlignConverter.cs
- AssemblyHelper.cs
- GlyphShapingProperties.cs
- _AcceptOverlappedAsyncResult.cs
- ImagingCache.cs
- SByte.cs
- DataGridHyperlinkColumn.cs
- ImageUrlEditor.cs
- StylusShape.cs
- WebBrowserEvent.cs
- COM2ExtendedBrowsingHandler.cs
- BamlTreeUpdater.cs
- ChangePasswordAutoFormat.cs
- ISFClipboardData.cs
- TextViewBase.cs
- OutputScope.cs
- ItemCheckedEvent.cs
- Merger.cs
- FormattedText.cs
- AspProxy.cs
- _UriSyntax.cs
- TraceInternal.cs
- ServiceHttpModule.cs
- XamlFilter.cs
- TdsEnums.cs
- KeyPressEvent.cs
- EntityConnection.cs
- IList.cs
- GridViewUpdateEventArgs.cs
- httpapplicationstate.cs
- PipeStream.cs
- HttpRuntime.cs
- PagerStyle.cs
- SafeProcessHandle.cs
- ISAPIApplicationHost.cs
- TextMessageEncoder.cs
- Model3DCollection.cs
- ChangeConflicts.cs
- OdbcConnectionHandle.cs
- WebZone.cs
- CatalogPartChrome.cs
- WebBrowsableAttribute.cs
- ViewBase.cs
- DbDataAdapter.cs
- ExcCanonicalXml.cs
- oledbmetadatacolumnnames.cs
- Hex.cs
- RectangleF.cs
- IisTraceListener.cs
- PresentationSource.cs
- IsolatedStorage.cs
- SocketElement.cs
- DataSourceListEditor.cs
- BitmapMetadata.cs
- TextTreeUndoUnit.cs
- HostingPreferredMapPath.cs
- HttpMethodConstraint.cs
- TextSelection.cs
- BeginGetFileNameFromUserRequest.cs
- TemplatedControlDesigner.cs
- RTLAwareMessageBox.cs
- XmlIgnoreAttribute.cs
- XmlAnyElementAttributes.cs
- StreamGeometryContext.cs
- DbDataAdapter.cs
- FixedSOMPageConstructor.cs
- WindowsListViewItem.cs
- OleDbMetaDataFactory.cs
- ShaderEffect.cs
- UIElementHelper.cs
- EntityCommand.cs
- TrackingStringDictionary.cs
- PageTextBox.cs
- NullableLongAverageAggregationOperator.cs
- TextEffect.cs
- AdapterUtil.cs
- TimeSpanStorage.cs
- COM2ColorConverter.cs
- PathParser.cs
- EnterpriseServicesHelper.cs