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
- SmiEventStream.cs
- LayoutUtils.cs
- RuntimeEnvironment.cs
- __TransparentProxy.cs
- XmlSchemaSearchPattern.cs
- QueryCorrelationInitializer.cs
- EntityContainerRelationshipSet.cs
- EncoderExceptionFallback.cs
- RTLAwareMessageBox.cs
- UseAttributeSetsAction.cs
- StreamInfo.cs
- LinkButton.cs
- ClientRoleProvider.cs
- TransformerInfoCollection.cs
- HScrollProperties.cs
- RequiredFieldValidator.cs
- PointAnimationClockResource.cs
- NotImplementedException.cs
- SiteMapNodeItemEventArgs.cs
- SqlUdtInfo.cs
- BitVec.cs
- XsltFunctions.cs
- SimpleBitVector32.cs
- Enumerable.cs
- XmlSerializerFactory.cs
- CodeTypeDelegate.cs
- HMACSHA256.cs
- LinkButton.cs
- EpmSourcePathSegment.cs
- StorageFunctionMapping.cs
- UIHelper.cs
- CharacterBufferReference.cs
- ForeignKeyConstraint.cs
- Timeline.cs
- GPRECT.cs
- ColorTranslator.cs
- XmlReflectionImporter.cs
- OleDbMetaDataFactory.cs
- DeclarativeCatalogPart.cs
- base64Transforms.cs
- PolyQuadraticBezierSegment.cs
- XpsPartBase.cs
- DataChangedEventManager.cs
- BindingSourceDesigner.cs
- ObservableCollection.cs
- CodeConditionStatement.cs
- XmlSchemaDatatype.cs
- TextTreeUndo.cs
- PlainXmlWriter.cs
- DataGrid.cs
- Size3DConverter.cs
- KeyValueSerializer.cs
- InternalConfigHost.cs
- TrackingMemoryStream.cs
- sqlpipe.cs
- ListControl.cs
- TreeNodeClickEventArgs.cs
- ContainerControl.cs
- OpCopier.cs
- LinkArea.cs
- ParsedRoute.cs
- BoundField.cs
- WindowsGraphics.cs
- BaseCAMarshaler.cs
- CreateUserWizard.cs
- Privilege.cs
- AttachInfo.cs
- CollectionViewProxy.cs
- IncrementalHitTester.cs
- DesignerDataTable.cs
- GifBitmapDecoder.cs
- PermissionRequestEvidence.cs
- diagnosticsswitches.cs
- ChildrenQuery.cs
- XamlStream.cs
- RoleService.cs
- FormatException.cs
- DBConcurrencyException.cs
- LogFlushAsyncResult.cs
- BitmapEffectInput.cs
- ProcessModule.cs
- XPathConvert.cs
- ComplexPropertyEntry.cs
- TextDataBindingHandler.cs
- WebZone.cs
- NotFiniteNumberException.cs
- EpmSyndicationContentDeSerializer.cs
- CombinedTcpChannel.cs
- TimerElapsedEvenArgs.cs
- RichTextBox.cs
- DataGridViewButtonColumn.cs
- LinkTarget.cs
- SvcMapFileLoader.cs
- FormatSettings.cs
- Matrix3D.cs
- BufferBuilder.cs
- WorkflowApplicationCompletedException.cs
- SafeSecurityHandles.cs
- GZipDecoder.cs
- ProtocolsInstallComponent.cs