Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Net / System / Net / _HeaderInfo.cs / 1 / _HeaderInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { internal delegate string[] HeaderParser(string value); internal class HeaderInfo { internal readonly bool IsRequestRestricted; internal readonly bool IsResponseRestricted; internal readonly HeaderParser Parser; // // Note that the HeaderName field is not always valid, and should not // be used after initialization. In particular, the HeaderInfo returned // for an unknown header will not have the correct header name. // internal readonly string HeaderName; internal readonly bool AllowMultiValues; internal HeaderInfo(string name, bool requestRestricted, bool responseRestricted, bool multi, HeaderParser p) { HeaderName = name; IsRequestRestricted = requestRestricted; IsResponseRestricted = responseRestricted; Parser = p; AllowMultiValues = multi; } } } // namespace System.Net // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { internal delegate string[] HeaderParser(string value); internal class HeaderInfo { internal readonly bool IsRequestRestricted; internal readonly bool IsResponseRestricted; internal readonly HeaderParser Parser; // // Note that the HeaderName field is not always valid, and should not // be used after initialization. In particular, the HeaderInfo returned // for an unknown header will not have the correct header name. // internal readonly string HeaderName; internal readonly bool AllowMultiValues; internal HeaderInfo(string name, bool requestRestricted, bool responseRestricted, bool multi, HeaderParser p) { HeaderName = name; IsRequestRestricted = requestRestricted; IsResponseRestricted = responseRestricted; Parser = p; AllowMultiValues = multi; } } } // namespace System.Net // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextBox.cs
- XmlEncoding.cs
- NamedPipeAppDomainProtocolHandler.cs
- BinarySecretKeyIdentifierClause.cs
- InputReferenceExpression.cs
- KeyGestureValueSerializer.cs
- XmlWrappingReader.cs
- StreamBodyWriter.cs
- UndirectedGraph.cs
- CollectionBase.cs
- ServiceModelExtensionElement.cs
- XPathMultyIterator.cs
- TextLineBreak.cs
- DragCompletedEventArgs.cs
- ProxySimple.cs
- BaseUriWithWildcard.cs
- ObjectDataSourceMethodEventArgs.cs
- CancellationToken.cs
- ProviderBase.cs
- RightsManagementPermission.cs
- CellQuery.cs
- LingerOption.cs
- TextDecorationLocationValidation.cs
- CommentAction.cs
- CollaborationHelperFunctions.cs
- XhtmlBasicPanelAdapter.cs
- XPathSingletonIterator.cs
- IsolatedStorageException.cs
- X509PeerCertificateElement.cs
- WorkflowMarkupSerializationException.cs
- HitTestDrawingContextWalker.cs
- BehaviorEditorPart.cs
- StringReader.cs
- FileDialog_Vista.cs
- DecimalKeyFrameCollection.cs
- Stylus.cs
- ObjectQueryState.cs
- EditorReuseAttribute.cs
- ISCIIEncoding.cs
- Matrix.cs
- DataAccessException.cs
- PointIndependentAnimationStorage.cs
- X509CertificateCollection.cs
- ToolZoneDesigner.cs
- ZipIOExtraFieldZip64Element.cs
- HuffModule.cs
- HScrollBar.cs
- ToolStripSystemRenderer.cs
- SqlLiftWhereClauses.cs
- PrincipalPermission.cs
- BaseCodeDomTreeGenerator.cs
- SdlChannelSink.cs
- CodeAttributeArgument.cs
- GenericTypeParameterBuilder.cs
- DataObjectFieldAttribute.cs
- baseaxisquery.cs
- DataServiceContext.cs
- HostSecurityManager.cs
- RestClientProxyHandler.cs
- BitmapEffectInput.cs
- PasswordTextContainer.cs
- CalendarDataBindingHandler.cs
- PresentationAppDomainManager.cs
- ListViewInsertEventArgs.cs
- PropagatorResult.cs
- DataPointer.cs
- ExpressionBindings.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- PersistStreamTypeWrapper.cs
- TextSerializer.cs
- VoiceInfo.cs
- DataGridDesigner.cs
- ButtonRenderer.cs
- DataIdProcessor.cs
- SqlTypeConverter.cs
- WindowsListViewScroll.cs
- ManagementNamedValueCollection.cs
- ITreeGenerator.cs
- WizardPanel.cs
- DataBinding.cs
- DescendentsWalker.cs
- ShaderRenderModeValidation.cs
- UnitControl.cs
- ConfigXmlComment.cs
- FixedSOMTableCell.cs
- GenericEnumerator.cs
- ScrollBarRenderer.cs
- ManualResetEvent.cs
- LocationSectionRecord.cs
- Touch.cs
- VectorAnimationBase.cs
- DataException.cs
- RangeValueProviderWrapper.cs
- CodeFieldReferenceExpression.cs
- RtfToXamlLexer.cs
- GuidTagList.cs
- SessionState.cs
- EventHandlersStore.cs
- SubtreeProcessor.cs
- PropertyTabAttribute.cs