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
- IPAddressCollection.cs
- DataSetMappper.cs
- SinglePageViewer.cs
- LayoutTableCell.cs
- BufferAllocator.cs
- TrackingLocation.cs
- ApplicationServiceManager.cs
- WebPartAuthorizationEventArgs.cs
- SemanticKeyElement.cs
- TemplateContent.cs
- TransformConverter.cs
- RangeValidator.cs
- RewritingPass.cs
- DatePicker.cs
- ILGenerator.cs
- ClientCredentialsElement.cs
- ExtensionQuery.cs
- DataGridViewCellStateChangedEventArgs.cs
- PointAnimationClockResource.cs
- WebPartManagerInternals.cs
- IpcManager.cs
- Transform3D.cs
- PassportAuthenticationEventArgs.cs
- ImmComposition.cs
- PrintDialogException.cs
- HtmlLinkAdapter.cs
- SpecularMaterial.cs
- CatalogZoneBase.cs
- UidManager.cs
- FixUpCollection.cs
- CharUnicodeInfo.cs
- LinqDataSourceDeleteEventArgs.cs
- CodeAccessPermission.cs
- GetResponse.cs
- AliasedSlot.cs
- SqlDataSourceEnumerator.cs
- ListParagraph.cs
- DriveNotFoundException.cs
- ShaperBuffers.cs
- RelationshipWrapper.cs
- BidOverLoads.cs
- SizeKeyFrameCollection.cs
- SqlStream.cs
- SmtpClient.cs
- TreeViewImageIndexConverter.cs
- StylusTip.cs
- Model3DCollection.cs
- BrowsableAttribute.cs
- RootBrowserWindowProxy.cs
- CompositeFontFamily.cs
- UserControl.cs
- DecimalConstantAttribute.cs
- AnimationClock.cs
- DataGridCell.cs
- PathSegment.cs
- AutomationFocusChangedEventArgs.cs
- CodeDelegateInvokeExpression.cs
- DataSourceCache.cs
- XmlSchemaElement.cs
- CanonicalXml.cs
- SystemColorTracker.cs
- ForEachAction.cs
- DataListCommandEventArgs.cs
- HttpHandlerAction.cs
- ControlBuilderAttribute.cs
- HierarchicalDataBoundControl.cs
- VBIdentifierTrimConverter.cs
- IResourceProvider.cs
- EdmComplexPropertyAttribute.cs
- AVElementHelper.cs
- EntityClassGenerator.cs
- HtmlFormWrapper.cs
- SelectedGridItemChangedEvent.cs
- ServiceMetadataExtension.cs
- DataGridColumnsPage.cs
- ShutDownListener.cs
- ListBoxChrome.cs
- InternalResources.cs
- ClientFormsIdentity.cs
- ViewStateException.cs
- Table.cs
- StringAnimationUsingKeyFrames.cs
- RegexMatchCollection.cs
- ProxyWebPartManager.cs
- ProtectedConfiguration.cs
- VirtualPathProvider.cs
- TreeNodeCollectionEditor.cs
- ControlValuePropertyAttribute.cs
- Model3DCollection.cs
- RelatedView.cs
- CreatingCookieEventArgs.cs
- LineServicesRun.cs
- TextEditorContextMenu.cs
- Mouse.cs
- ToolStripDropDownClosedEventArgs.cs
- SqlProvider.cs
- TextLineBreak.cs
- NodeLabelEditEvent.cs
- DiagnosticTrace.cs
- DBConnection.cs