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
- ToolStripEditorManager.cs
- SocketSettings.cs
- DeclarativeCatalogPartDesigner.cs
- Context.cs
- UnmanagedBitmapWrapper.cs
- smtppermission.cs
- IndexedEnumerable.cs
- SparseMemoryStream.cs
- WorkflowView.cs
- WebScriptMetadataMessageEncoderFactory.cs
- InitialServerConnectionReader.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ToolStripContentPanelDesigner.cs
- ParallelSeparator.xaml.cs
- ContentAlignmentEditor.cs
- CriticalExceptions.cs
- LinkDescriptor.cs
- BitmapPalettes.cs
- StylusButtonCollection.cs
- WebBrowserDocumentCompletedEventHandler.cs
- PriorityRange.cs
- PropertyConverter.cs
- PathGradientBrush.cs
- DataGridDetailsPresenterAutomationPeer.cs
- DbConnectionFactory.cs
- PopupRoot.cs
- WindowsListView.cs
- XmlSchemaExternal.cs
- TypedTableBase.cs
- HtmlInputCheckBox.cs
- SoapHeaderAttribute.cs
- CallContext.cs
- TPLETWProvider.cs
- PaintValueEventArgs.cs
- ProcessInfo.cs
- IdentityModelStringsVersion1.cs
- CodeObjectCreateExpression.cs
- SQLBinary.cs
- SQLDateTimeStorage.cs
- MimeParameterWriter.cs
- MeshGeometry3D.cs
- RelationshipConstraintValidator.cs
- VScrollBar.cs
- PasswordRecovery.cs
- ZipIOExtraField.cs
- QilGeneratorEnv.cs
- AppLevelCompilationSectionCache.cs
- AnonymousIdentificationSection.cs
- RequestBringIntoViewEventArgs.cs
- XmlMembersMapping.cs
- StylusDownEventArgs.cs
- ObjectRef.cs
- ValidationPropertyAttribute.cs
- StorageComplexTypeMapping.cs
- FontSource.cs
- HostedNamedPipeTransportManager.cs
- smtpconnection.cs
- GrabHandleGlyph.cs
- StringArrayConverter.cs
- RegexInterpreter.cs
- ContentIterators.cs
- ParseElementCollection.cs
- DispatcherProcessingDisabled.cs
- METAHEADER.cs
- CodeVariableReferenceExpression.cs
- LicenseException.cs
- PathTooLongException.cs
- DataGridViewMethods.cs
- ScriptingAuthenticationServiceSection.cs
- HostingEnvironment.cs
- WmfPlaceableFileHeader.cs
- Vector3DAnimation.cs
- Int32Converter.cs
- BreakSafeBase.cs
- SafeLibraryHandle.cs
- VirtualizingPanel.cs
- GridEntry.cs
- TaskSchedulerException.cs
- ButtonRenderer.cs
- DataGridViewTopRowAccessibleObject.cs
- WSSecureConversationFeb2005.cs
- FormViewModeEventArgs.cs
- EmissiveMaterial.cs
- ProfilePropertySettingsCollection.cs
- ContextMenu.cs
- MimeTextImporter.cs
- SQLDoubleStorage.cs
- CalendarAutomationPeer.cs
- TextCompositionEventArgs.cs
- GlyphCollection.cs
- PositiveTimeSpanValidatorAttribute.cs
- ProjectionPathSegment.cs
- wgx_commands.cs
- UriSection.cs
- HandleRef.cs
- UpdateTracker.cs
- PolicyException.cs
- PerformanceCounterNameAttribute.cs
- ResXFileRef.cs
- XmlExpressionDumper.cs