Code:
/ DotNET / DotNET / 8.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
- TypeSemantics.cs
- ClientSession.cs
- MD5.cs
- PolicyChain.cs
- xsdvalidator.cs
- FixedMaxHeap.cs
- SqlRowUpdatingEvent.cs
- PropertyToken.cs
- UnitySerializationHolder.cs
- ServiceNameCollection.cs
- QueryStringParameter.cs
- ChildDocumentBlock.cs
- ListViewCancelEventArgs.cs
- RuleSettingsCollection.cs
- ElementNotAvailableException.cs
- ShaderRenderModeValidation.cs
- SqlConnectionPoolProviderInfo.cs
- CodeIdentifiers.cs
- TrailingSpaceComparer.cs
- IPPacketInformation.cs
- Authorization.cs
- PackageRelationship.cs
- DateTimeEditor.cs
- Group.cs
- EncryptedPackage.cs
- SqlUserDefinedTypeAttribute.cs
- DBCSCodePageEncoding.cs
- Size3D.cs
- UInt64Converter.cs
- BamlRecordWriter.cs
- SymbolType.cs
- SQLMoneyStorage.cs
- ParameterElement.cs
- PointLight.cs
- TrackingStringDictionary.cs
- WindowsListViewSubItem.cs
- SourceElementsCollection.cs
- Wow64ConfigurationLoader.cs
- METAHEADER.cs
- TraceUtility.cs
- XmlWriter.cs
- FullTrustAssembliesSection.cs
- NameScope.cs
- ServiceParser.cs
- Timer.cs
- SqlProviderManifest.cs
- ControlLocalizer.cs
- BrowserCapabilitiesFactory.cs
- MemoryRecordBuffer.cs
- CaseInsensitiveOrdinalStringComparer.cs
- LogSwitch.cs
- CreateInstanceBinder.cs
- SoapCodeExporter.cs
- GenericPrincipal.cs
- AssemblyNameProxy.cs
- HTTPNotFoundHandler.cs
- WindowsEditBox.cs
- ContentDefinition.cs
- DocumentApplicationJournalEntry.cs
- WindowsGraphics.cs
- ExceptionHandler.cs
- MenuAdapter.cs
- CodeSubDirectoriesCollection.cs
- MessageSecurityOverMsmqElement.cs
- DetailsViewDeletedEventArgs.cs
- SamlSecurityTokenAuthenticator.cs
- OutputCacheEntry.cs
- TypefaceCollection.cs
- ComponentEditorPage.cs
- Form.cs
- XslCompiledTransform.cs
- XamlReaderHelper.cs
- TextSearch.cs
- StateMachineAction.cs
- HandledMouseEvent.cs
- EntityTypeBase.cs
- validationstate.cs
- QilPatternFactory.cs
- WorkflowItemsPresenter.cs
- ListenerUnsafeNativeMethods.cs
- SeparatorAutomationPeer.cs
- SafeHandles.cs
- SwitchCase.cs
- WindowsToolbarItemAsMenuItem.cs
- ConnectionProviderAttribute.cs
- DataGridViewComboBoxEditingControl.cs
- UpdateProgress.cs
- RelativeSource.cs
- RadioButtonFlatAdapter.cs
- EdmToObjectNamespaceMap.cs
- VideoDrawing.cs
- ControlAdapter.cs
- FixedTextBuilder.cs
- Vector3DValueSerializer.cs
- HttpRuntimeSection.cs
- CryptoStream.cs
- SafeBitVector32.cs
- CustomError.cs
- CompositeScriptReferenceEventArgs.cs
- PointAnimationUsingKeyFrames.cs