Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / _HeaderInfo.cs / 1305376 / _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
- GenericTypeParameterBuilder.cs
- SimpleHandlerBuildProvider.cs
- TextureBrush.cs
- Rect.cs
- IntranetCredentialPolicy.cs
- SpellerError.cs
- DataTableClearEvent.cs
- DbProviderFactory.cs
- DataGridViewIntLinkedList.cs
- LogArchiveSnapshot.cs
- TextServicesDisplayAttributePropertyRanges.cs
- XmlDocumentSurrogate.cs
- XmlLoader.cs
- TemplatePropertyEntry.cs
- TextEditorLists.cs
- XmlSchemaObjectTable.cs
- ScrollableControl.cs
- ChangeInterceptorAttribute.cs
- DBPropSet.cs
- WinFormsUtils.cs
- DateTimeValueSerializer.cs
- updatecommandorderer.cs
- DrawListViewColumnHeaderEventArgs.cs
- SchemaMapping.cs
- DiscoveryDefaults.cs
- OdbcConnectionString.cs
- PixelFormatConverter.cs
- Regex.cs
- ObjectViewFactory.cs
- BindingList.cs
- TextElement.cs
- SyndicationSerializer.cs
- TypeExtensions.cs
- FileSecurity.cs
- ColorTranslator.cs
- SymbolEqualComparer.cs
- ColumnClickEvent.cs
- RootBrowserWindowAutomationPeer.cs
- HttpCacheParams.cs
- PersonalizationAdministration.cs
- ScrollChangedEventArgs.cs
- XmlUTF8TextWriter.cs
- DeobfuscatingStream.cs
- SetStateEventArgs.cs
- Int32AnimationBase.cs
- ExecutionContext.cs
- Int32KeyFrameCollection.cs
- RelationshipSet.cs
- TextBlockAutomationPeer.cs
- PathFigure.cs
- PaperSource.cs
- SignedXml.cs
- IPEndPoint.cs
- KeySplineConverter.cs
- MenuBase.cs
- AssemblyFilter.cs
- WindowsEditBoxRange.cs
- XPathDocument.cs
- TreeView.cs
- InProcStateClientManager.cs
- ApplicationActivator.cs
- MetadataCache.cs
- CheckBoxRenderer.cs
- PopOutPanel.cs
- DocumentXmlWriter.cs
- PropertyPathConverter.cs
- BulletedList.cs
- XmlSchemaComplexContentRestriction.cs
- WebPageTraceListener.cs
- DropShadowBitmapEffect.cs
- ReturnEventArgs.cs
- EventProviderClassic.cs
- SocketException.cs
- HtmlForm.cs
- SqlBooleanizer.cs
- Size3DValueSerializer.cs
- StateItem.cs
- ContentPropertyAttribute.cs
- DataGridViewButtonCell.cs
- FileAuthorizationModule.cs
- CopyNamespacesAction.cs
- Set.cs
- RelationshipType.cs
- DataGridColumnDropSeparator.cs
- KerberosSecurityTokenProvider.cs
- LocalTransaction.cs
- Events.cs
- DescendantOverDescendantQuery.cs
- ContractMapping.cs
- objectresult_tresulttype.cs
- EntityDataSourceQueryBuilder.cs
- UnitySerializationHolder.cs
- Comparer.cs
- StoreAnnotationsMap.cs
- GridViewRowCollection.cs
- DebugInfo.cs
- WebEventCodes.cs
- MILUtilities.cs
- TypeUtils.cs
- ResourceContainer.cs