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
- PropertyMappingExceptionEventArgs.cs
- NativeCompoundFileAPIs.cs
- EventArgs.cs
- BCryptHashAlgorithm.cs
- EmptyCollection.cs
- EntityDesignerUtils.cs
- ObjectDataSourceStatusEventArgs.cs
- SwitchLevelAttribute.cs
- SizeAnimation.cs
- QueryMatcher.cs
- ConfigurationException.cs
- ContainerParaClient.cs
- StringExpressionSet.cs
- listviewsubitemcollectioneditor.cs
- TrackingServices.cs
- PersonalizationProviderCollection.cs
- RangeValidator.cs
- AnimatedTypeHelpers.cs
- EditingCoordinator.cs
- LongMinMaxAggregationOperator.cs
- QilXmlReader.cs
- CharAnimationBase.cs
- PrePrepareMethodAttribute.cs
- DoubleLink.cs
- SqlLiftWhereClauses.cs
- WebReferencesBuildProvider.cs
- DataGridColumn.cs
- ButtonFieldBase.cs
- XmlSchemaDocumentation.cs
- OutKeywords.cs
- RelativeSource.cs
- RegexCompiler.cs
- Pkcs9Attribute.cs
- WinFormsSecurity.cs
- ProfessionalColors.cs
- BamlRecordHelper.cs
- BufferedStream.cs
- Column.cs
- Activity.cs
- WebPartDisplayModeEventArgs.cs
- BitmapImage.cs
- UriTemplateCompoundPathSegment.cs
- PrivilegeNotHeldException.cs
- ConfigurationValidatorAttribute.cs
- DesignerCategoryAttribute.cs
- counter.cs
- DataRelation.cs
- UDPClient.cs
- CodeEntryPointMethod.cs
- hresults.cs
- TextProperties.cs
- PointCollection.cs
- _UriTypeConverter.cs
- Evidence.cs
- SqlCharStream.cs
- UserUseLicenseDictionaryLoader.cs
- PreProcessor.cs
- CellTreeNodeVisitors.cs
- SettingsContext.cs
- ReliableSessionBindingElement.cs
- WebBrowserUriTypeConverter.cs
- StateBag.cs
- MetadataItemEmitter.cs
- NavigatorInput.cs
- GradientStopCollection.cs
- WorkItem.cs
- ActionItem.cs
- MetabaseServerConfig.cs
- MenuScrollingVisibilityConverter.cs
- StateRuntime.cs
- ToolStripPanel.cs
- DesignerMetadata.cs
- XmlCollation.cs
- PixelFormats.cs
- TableLayoutCellPaintEventArgs.cs
- XmlSecureResolver.cs
- MatrixAnimationUsingPath.cs
- StateMachine.cs
- CSharpCodeProvider.cs
- AttachInfo.cs
- CodeSubDirectoriesCollection.cs
- XsdDateTime.cs
- StatusBarPanel.cs
- XmlAnyElementAttributes.cs
- SecurityElement.cs
- XmlSchemaDatatype.cs
- BitStack.cs
- IPEndPointCollection.cs
- UnsafeNativeMethodsPenimc.cs
- CopyCodeAction.cs
- MarginCollapsingState.cs
- MouseBinding.cs
- DefaultClaimSet.cs
- CorrelationInitializer.cs
- SecurityState.cs
- AnnotationResourceChangedEventArgs.cs
- TextBoxView.cs
- HttpFileCollection.cs
- DataGridViewSelectedColumnCollection.cs
- ElementFactory.cs