Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Cache / HeaderElement.cs / 1305376 / HeaderElement.cs
using System; using System.Security.Permissions; using System.Web; using System.Web.Caching; namespace System.Web.Caching { // A header element holds the header name and value. [Serializable] public sealed class HeaderElement { private string _name; private string _value; public string Name { get { return _name; } } public string Value { get { return _value; } } private HeaderElement() { } // hide default constructor public HeaderElement(string name, string value) { if (name == null) throw new ArgumentNullException("name"); if (value == null) throw new ArgumentNullException("value"); _name = name; _value = value; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Security.Permissions; using System.Web; using System.Web.Caching; namespace System.Web.Caching { // A header element holds the header name and value. [Serializable] public sealed class HeaderElement { private string _name; private string _value; public string Name { get { return _name; } } public string Value { get { return _value; } } private HeaderElement() { } // hide default constructor public HeaderElement(string name, string value) { if (name == null) throw new ArgumentNullException("name"); if (value == null) throw new ArgumentNullException("value"); _name = name; _value = value; } } } // 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
- DateTimeSerializationSection.cs
- PartialList.cs
- ProcessHostServerConfig.cs
- SqlConnectionString.cs
- XmlReflectionMember.cs
- ArithmeticException.cs
- EntitySqlException.cs
- ControlValuePropertyAttribute.cs
- InitializationEventAttribute.cs
- CharacterMetrics.cs
- ReadOnlyDataSourceView.cs
- SchemeSettingElementCollection.cs
- SynchronizedDispatch.cs
- UnmanagedMarshal.cs
- BoundField.cs
- OneOfElement.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- EdmError.cs
- MailWriter.cs
- ContextMenuStrip.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Metafile.cs
- SqlMethodTransformer.cs
- UIPropertyMetadata.cs
- SelfIssuedAuthProofToken.cs
- ActivityStatusChangeEventArgs.cs
- SoapCommonClasses.cs
- CompensationDesigner.cs
- MethodSignatureGenerator.cs
- TakeOrSkipWhileQueryOperator.cs
- OrderedEnumerableRowCollection.cs
- KeyPullup.cs
- ColorAnimationUsingKeyFrames.cs
- BaseParser.cs
- initElementDictionary.cs
- SqlConnectionPoolProviderInfo.cs
- ClassDataContract.cs
- ReflectionTypeLoadException.cs
- NullPackagingPolicy.cs
- SafeCoTaskMem.cs
- XsdDateTime.cs
- _NetworkingPerfCounters.cs
- SQLSingleStorage.cs
- AppDomain.cs
- CalendarButton.cs
- SharedStream.cs
- XmlKeywords.cs
- AndAlso.cs
- CodeExporter.cs
- parserscommon.cs
- RenderOptions.cs
- HttpPostClientProtocol.cs
- DataServiceStreamResponse.cs
- CommandTreeTypeHelper.cs
- MessagingDescriptionAttribute.cs
- XmlWriter.cs
- XPathConvert.cs
- WorkflowEventArgs.cs
- DataObjectAttribute.cs
- WriteableOnDemandPackagePart.cs
- MultipartContentParser.cs
- SchemaImporter.cs
- GridViewHeaderRowPresenter.cs
- ObjectConverter.cs
- JpegBitmapDecoder.cs
- TextRunProperties.cs
- CollaborationHelperFunctions.cs
- ComponentChangedEvent.cs
- NativeObjectSecurity.cs
- HtmlTable.cs
- HtmlInputFile.cs
- InputBinder.cs
- InputLanguage.cs
- IndexerHelper.cs
- Mappings.cs
- PerspectiveCamera.cs
- CompositeFontParser.cs
- StorageInfo.cs
- IFlowDocumentViewer.cs
- ClientRuntimeConfig.cs
- Converter.cs
- EditingCoordinator.cs
- InfoCardXmlSerializer.cs
- FacetEnabledSchemaElement.cs
- QuaternionAnimationBase.cs
- ListViewSelectEventArgs.cs
- LogicalExpressionEditor.cs
- unsafeIndexingFilterStream.cs
- RSAOAEPKeyExchangeDeformatter.cs
- PlanCompiler.cs
- PatternMatcher.cs
- SQLCharsStorage.cs
- login.cs
- HyperLinkField.cs
- HashAlgorithm.cs
- SecurityContext.cs
- GeneratedView.cs
- SourceInterpreter.cs
- SvcMapFileSerializer.cs
- SharedMemory.cs