Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NGCPageContentCollectionSerializerAsync.cs
- ChannelPoolSettings.cs
- PropertyGeneratedEventArgs.cs
- SafeHandles.cs
- HiddenField.cs
- AnonymousIdentificationModule.cs
- CfgArc.cs
- CornerRadiusConverter.cs
- SolidBrush.cs
- AppAction.cs
- arclist.cs
- GeneralTransform.cs
- RequestStatusBarUpdateEventArgs.cs
- IISMapPath.cs
- TreeNodeStyleCollection.cs
- SslStreamSecurityElement.cs
- DataGridDesigner.cs
- CellParagraph.cs
- WasAdminWrapper.cs
- ZeroOpNode.cs
- Effect.cs
- Timer.cs
- BamlLocalizableResourceKey.cs
- sqlser.cs
- TextServicesContext.cs
- RealProxy.cs
- AliasedSlot.cs
- CodeDomConfigurationHandler.cs
- SessionChannels.cs
- ServiceDescriptionSerializer.cs
- Color.cs
- ScriptControlManager.cs
- AsymmetricKeyExchangeFormatter.cs
- AnimatedTypeHelpers.cs
- BrowserTree.cs
- XpsLiterals.cs
- ProtocolsConfigurationHandler.cs
- ManifestResourceInfo.cs
- XmlSortKeyAccumulator.cs
- RootProjectionNode.cs
- DateTimePicker.cs
- Positioning.cs
- XmlSchemaObject.cs
- DataSourceHelper.cs
- SourceFilter.cs
- ObjectContext.cs
- Exceptions.cs
- CookieParameter.cs
- ADMembershipUser.cs
- DbConnectionPoolOptions.cs
- ResourceManagerWrapper.cs
- StyleCollection.cs
- TimeoutException.cs
- BindStream.cs
- MsmqReceiveHelper.cs
- ReturnEventArgs.cs
- DbConnectionFactory.cs
- Gdiplus.cs
- Matrix.cs
- ConfigXmlWhitespace.cs
- MarshalDirectiveException.cs
- BindingCompleteEventArgs.cs
- LeafCellTreeNode.cs
- SoapSchemaMember.cs
- JoinTreeNode.cs
- RegexWriter.cs
- UInt64Storage.cs
- MetaTable.cs
- Deflater.cs
- WebPartMenuStyle.cs
- WebPartCatalogAddVerb.cs
- Quaternion.cs
- CultureInfoConverter.cs
- ISO2022Encoding.cs
- UnmanagedHandle.cs
- DependencyProperty.cs
- XmlWriterSettings.cs
- OrderedDictionaryStateHelper.cs
- Facet.cs
- SafeViewOfFileHandle.cs
- RectAnimationUsingKeyFrames.cs
- BinHexEncoding.cs
- RunWorkerCompletedEventArgs.cs
- Clause.cs
- FontDriver.cs
- ComponentConverter.cs
- CultureSpecificStringDictionary.cs
- ValidationError.cs
- ControlBuilder.cs
- WindowExtensionMethods.cs
- RuntimeComponentFilter.cs
- HtmlInputControl.cs
- _AcceptOverlappedAsyncResult.cs
- DrawingGroup.cs
- ResourcesGenerator.cs
- UIElement.cs
- CodeDelegateCreateExpression.cs
- altserialization.cs
- GlyphRunDrawing.cs
- FormViewCommandEventArgs.cs