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
- WebPartExportVerb.cs
- MenuItemStyleCollection.cs
- StorageSetMapping.cs
- XamlVector3DCollectionSerializer.cs
- XmlDocumentSerializer.cs
- GenericUriParser.cs
- StringDictionary.cs
- ImageFormatConverter.cs
- SqlTypesSchemaImporter.cs
- EditorZoneAutoFormat.cs
- BoolExpr.cs
- WinEventHandler.cs
- DataGridViewUtilities.cs
- unsafenativemethodstextservices.cs
- DataTransferEventArgs.cs
- FontFamily.cs
- ToolStripProgressBar.cs
- AnnotationHighlightLayer.cs
- PropertiesTab.cs
- SizeChangedInfo.cs
- Focus.cs
- LinqToSqlWrapper.cs
- DocumentsTrace.cs
- ChangeInterceptorAttribute.cs
- SqlTypeSystemProvider.cs
- PkcsUtils.cs
- ClientScriptItem.cs
- DataGridViewComboBoxColumn.cs
- ConnectorSelectionGlyph.cs
- RoleGroup.cs
- NetworkInterface.cs
- Line.cs
- SqlFacetAttribute.cs
- GeneralTransform.cs
- PassportPrincipal.cs
- CustomErrorsSectionWrapper.cs
- FunctionQuery.cs
- XmlElement.cs
- DateTimePicker.cs
- ArgIterator.cs
- RenderOptions.cs
- WorkflowMessageEventHandler.cs
- BaseValidator.cs
- DataBinding.cs
- ProxyWebPartConnectionCollection.cs
- AuthStoreRoleProvider.cs
- VirtualPathUtility.cs
- XmlEventCache.cs
- FloaterBaseParagraph.cs
- XmlWriterSettings.cs
- ToolStripLabel.cs
- XmlNamespaceMappingCollection.cs
- BitmapCodecInfo.cs
- DocumentOrderComparer.cs
- InlineUIContainer.cs
- HtmlMobileTextWriter.cs
- Token.cs
- BitmapEffectState.cs
- Soap.cs
- ThreadPool.cs
- ChangeNode.cs
- DashStyles.cs
- HttpRequestCacheValidator.cs
- WsatConfiguration.cs
- TreeBuilder.cs
- SaveFileDialogDesigner.cs
- SettingsPropertyValue.cs
- AddInAttribute.cs
- EventPrivateKey.cs
- ContentDesigner.cs
- RbTree.cs
- TimeSpanSecondsConverter.cs
- ApplicationActivator.cs
- SspiWrapper.cs
- WpfPayload.cs
- MILUtilities.cs
- ToolStripRenderer.cs
- InputLanguageManager.cs
- CompressedStack.cs
- GridViewAutomationPeer.cs
- State.cs
- XmlRawWriter.cs
- ResourceDictionary.cs
- ElementMarkupObject.cs
- DBCommand.cs
- PenCursorManager.cs
- XmlTextReaderImpl.cs
- ReservationCollection.cs
- DataGridViewCellLinkedList.cs
- XmlDictionaryWriter.cs
- WorkflowRuntimeServicesBehavior.cs
- GridPatternIdentifiers.cs
- GridViewEditEventArgs.cs
- CommonDialog.cs
- Types.cs
- AssemblyFilter.cs
- OrderByBuilder.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- Symbol.cs
- AuthenticationSection.cs