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
- TextModifierScope.cs
- HuffModule.cs
- FragmentNavigationEventArgs.cs
- ConfigurationStrings.cs
- ResXResourceWriter.cs
- PrimitiveXmlSerializers.cs
- DEREncoding.cs
- InputReportEventArgs.cs
- ToolStripOverflowButton.cs
- ReadOnlyObservableCollection.cs
- ConfigUtil.cs
- MarkerProperties.cs
- ColorEditor.cs
- URLMembershipCondition.cs
- NamespaceInfo.cs
- NamespaceList.cs
- DependencyPropertyKind.cs
- FragmentQuery.cs
- TabletDevice.cs
- DateTimeValueSerializerContext.cs
- ProjectionPruner.cs
- ConstraintEnumerator.cs
- Margins.cs
- XmlComplianceUtil.cs
- SqlAliaser.cs
- DbParameterCollectionHelper.cs
- HealthMonitoringSection.cs
- ServerIdentity.cs
- WindowsRebar.cs
- WhitespaceRuleLookup.cs
- StringAnimationUsingKeyFrames.cs
- Accessors.cs
- DefaultPropertiesToSend.cs
- HScrollProperties.cs
- XmlAnyAttributeAttribute.cs
- DataGridViewColumnConverter.cs
- DbConnectionFactory.cs
- WebPartDescription.cs
- StrongNameMembershipCondition.cs
- GACIdentityPermission.cs
- ExpressionCopier.cs
- NullToBooleanConverter.cs
- DesignerRegionCollection.cs
- DependencyProperty.cs
- RestClientProxyHandler.cs
- DropShadowEffect.cs
- ActivityTrace.cs
- DataGridLinkButton.cs
- CollaborationHelperFunctions.cs
- RenameRuleObjectDialog.Designer.cs
- UxThemeWrapper.cs
- GridToolTip.cs
- XmlSchemaIdentityConstraint.cs
- Line.cs
- RegexGroup.cs
- DbProviderFactories.cs
- SafeRightsManagementPubHandle.cs
- MarkupCompilePass1.cs
- QilTernary.cs
- SocketAddress.cs
- MarkerProperties.cs
- NavigationPropertyEmitter.cs
- ApplicationServiceManager.cs
- GeneratedCodeAttribute.cs
- ControlBindingsCollection.cs
- EntityStoreSchemaFilterEntry.cs
- SystemEvents.cs
- CompModSwitches.cs
- Point3D.cs
- M3DUtil.cs
- SafeSecurityHandles.cs
- _ServiceNameStore.cs
- TypeDelegator.cs
- MailSettingsSection.cs
- ImageSourceConverter.cs
- rsa.cs
- DefaultAsyncDataDispatcher.cs
- FamilyTypeface.cs
- DbCommandTree.cs
- ColorInterpolationModeValidation.cs
- WebPartVerbCollection.cs
- HtmlInputSubmit.cs
- WorkflowView.cs
- DataGridItemEventArgs.cs
- Normalization.cs
- ElementHostAutomationPeer.cs
- MediaPlayerState.cs
- Base64Stream.cs
- RelationshipSet.cs
- IisTraceWebEventProvider.cs
- HtmlLink.cs
- C14NUtil.cs
- HtmlToClrEventProxy.cs
- ZipPackage.cs
- DecoderFallback.cs
- GetPageCompletedEventArgs.cs
- GenerateScriptTypeAttribute.cs
- OracleRowUpdatingEventArgs.cs
- Timeline.cs
- DocumentAutomationPeer.cs