Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Cache / OutputCacheEntry.cs / 1305376 / OutputCacheEntry.cs
using System; using System.Collections.Generic; using System.Security.Permissions; using System.Web; namespace System.Web.Caching { [Serializable] internal class OutputCacheEntry: IOutputCacheEntry { // fields that hold metadata for the entry private Guid _cachedVaryId; private HttpCachePolicySettings _settings; private string _kernelCacheUrl; private string _dependenciesKey; private string[] _dependencies; // file dependencies //response fields private int _statusCode; private String _statusDescription; private List_headerElements; private List _responseElements; internal Guid CachedVaryId { get { return _cachedVaryId; } } internal HttpCachePolicySettings Settings { get { return _settings; } } internal string KernelCacheUrl { get { return _kernelCacheUrl; } } internal string DependenciesKey { get { return _dependenciesKey; } } internal string[] Dependencies { get { return _dependencies; } } internal int StatusCode { get { return _statusCode; } } internal string StatusDescription { get { return _statusDescription; } } public List HeaderElements { get { return _headerElements; } set { _headerElements = value; } } public List ResponseElements { get { return _responseElements; } set { _responseElements = value; } } private OutputCacheEntry() { // hide default constructor } internal OutputCacheEntry(Guid cachedVaryId, HttpCachePolicySettings settings, string kernelCacheUrl, string dependenciesKey, string[] dependencies, int statusCode, string statusDescription, List headerElements, List responseElements) { _cachedVaryId = cachedVaryId; _settings = settings; _kernelCacheUrl = kernelCacheUrl; _dependenciesKey = dependenciesKey; _dependencies = dependencies; _statusCode = statusCode; _statusDescription = statusDescription; _headerElements = headerElements; _responseElements = responseElements; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Security.Permissions; using System.Web; namespace System.Web.Caching { [Serializable] internal class OutputCacheEntry: IOutputCacheEntry { // fields that hold metadata for the entry private Guid _cachedVaryId; private HttpCachePolicySettings _settings; private string _kernelCacheUrl; private string _dependenciesKey; private string[] _dependencies; // file dependencies //response fields private int _statusCode; private String _statusDescription; private List _headerElements; private List _responseElements; internal Guid CachedVaryId { get { return _cachedVaryId; } } internal HttpCachePolicySettings Settings { get { return _settings; } } internal string KernelCacheUrl { get { return _kernelCacheUrl; } } internal string DependenciesKey { get { return _dependenciesKey; } } internal string[] Dependencies { get { return _dependencies; } } internal int StatusCode { get { return _statusCode; } } internal string StatusDescription { get { return _statusDescription; } } public List HeaderElements { get { return _headerElements; } set { _headerElements = value; } } public List ResponseElements { get { return _responseElements; } set { _responseElements = value; } } private OutputCacheEntry() { // hide default constructor } internal OutputCacheEntry(Guid cachedVaryId, HttpCachePolicySettings settings, string kernelCacheUrl, string dependenciesKey, string[] dependencies, int statusCode, string statusDescription, List headerElements, List responseElements) { _cachedVaryId = cachedVaryId; _settings = settings; _kernelCacheUrl = kernelCacheUrl; _dependenciesKey = dependenciesKey; _dependencies = dependencies; _statusCode = statusCode; _statusDescription = statusDescription; _headerElements = headerElements; _responseElements = responseElements; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClientUrlResolverWrapper.cs
- DisplayNameAttribute.cs
- Lookup.cs
- UIElement3DAutomationPeer.cs
- LayoutDump.cs
- DataKey.cs
- LayoutTable.cs
- FormsAuthenticationTicket.cs
- XmlMapping.cs
- PaperSource.cs
- ObjectDataSource.cs
- StandardToolWindows.cs
- DatasetMethodGenerator.cs
- XmlSchemaInfo.cs
- ConfigurationStrings.cs
- CatalogPartCollection.cs
- FragmentNavigationEventArgs.cs
- NavigationProperty.cs
- BitConverter.cs
- GZipDecoder.cs
- MouseButtonEventArgs.cs
- SecurityCriticalDataForSet.cs
- Triplet.cs
- XmlDataCollection.cs
- BaseTemplateCodeDomTreeGenerator.cs
- PointConverter.cs
- NativeMethods.cs
- SqlConnection.cs
- EmptyElement.cs
- XmlSchemaExternal.cs
- xamlnodes.cs
- SqlRewriteScalarSubqueries.cs
- OdbcPermission.cs
- UserControl.cs
- LayoutManager.cs
- TextComposition.cs
- SystemInfo.cs
- HtmlInputSubmit.cs
- SqlTypesSchemaImporter.cs
- SessionEndingCancelEventArgs.cs
- _HeaderInfoTable.cs
- Scalars.cs
- DynamicUpdateCommand.cs
- DataGridColumn.cs
- XamlSerializerUtil.cs
- PropertyKey.cs
- CleanUpVirtualizedItemEventArgs.cs
- MethodBody.cs
- TextAutomationPeer.cs
- DataGridViewRowHeaderCell.cs
- SiteMap.cs
- FontNamesConverter.cs
- mediaeventshelper.cs
- ExceptionAggregator.cs
- TemplateField.cs
- WebPartChrome.cs
- ReadOnlyDictionary.cs
- HashRepartitionEnumerator.cs
- CannotUnloadAppDomainException.cs
- WebPageTraceListener.cs
- updateconfighost.cs
- ScalarConstant.cs
- KeyValueConfigurationElement.cs
- SeekStoryboard.cs
- WpfSharedXamlSchemaContext.cs
- WmlLinkAdapter.cs
- BaseDataList.cs
- connectionpool.cs
- NotifyIcon.cs
- MessageQueueException.cs
- AssemblyAssociatedContentFileAttribute.cs
- DynamicMethod.cs
- BuildDependencySet.cs
- ImportContext.cs
- GridSplitter.cs
- SynchronizationHandlesCodeDomSerializer.cs
- PerformanceCounterLib.cs
- PartialTrustValidationBehavior.cs
- HttpCapabilitiesBase.cs
- CodeDelegateCreateExpression.cs
- HtmlInputHidden.cs
- EnumValAlphaComparer.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- CompositeDataBoundControl.cs
- ValidationErrorCollection.cs
- Function.cs
- CompiledXpathExpr.cs
- ChainOfResponsibility.cs
- TextServicesProperty.cs
- DnsPermission.cs
- Solver.cs
- ReaderContextStackData.cs
- UrlMappingCollection.cs
- ScriptingRoleServiceSection.cs
- CreateParams.cs
- DataGridPagingPage.cs
- FileReservationCollection.cs
- QilUnary.cs
- PlacementWorkspace.cs
- SemanticResolver.cs