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
- MimeObjectFactory.cs
- TabControlEvent.cs
- ComboBoxItem.cs
- TraceListeners.cs
- TextEditorDragDrop.cs
- FreezableDefaultValueFactory.cs
- GregorianCalendarHelper.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- Module.cs
- SystemUnicastIPAddressInformation.cs
- RemotingSurrogateSelector.cs
- ExtensibleClassFactory.cs
- CfgRule.cs
- LinkArea.cs
- ContainerParagraph.cs
- documentsequencetextcontainer.cs
- PointHitTestResult.cs
- FixedPosition.cs
- ErrorWrapper.cs
- CustomError.cs
- ParentQuery.cs
- BindingExpressionBase.cs
- SolidBrush.cs
- Interlocked.cs
- MemoryMappedFileSecurity.cs
- XDeferredAxisSource.cs
- SchemaTableColumn.cs
- MarkerProperties.cs
- NumericUpDownAcceleration.cs
- XamlPathDataSerializer.cs
- DrawingAttributeSerializer.cs
- APCustomTypeDescriptor.cs
- UpdatableWrapper.cs
- ListBoxAutomationPeer.cs
- TreeNodeBinding.cs
- NativeWindow.cs
- FormViewUpdateEventArgs.cs
- ValueType.cs
- HtmlInputControl.cs
- PropertyRef.cs
- PathFigureCollectionConverter.cs
- MessageHeaderException.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- XmlSchemas.cs
- CompositionAdorner.cs
- OLEDB_Enum.cs
- AsymmetricKeyExchangeFormatter.cs
- OrderPreservingMergeHelper.cs
- TabPageDesigner.cs
- XmlElementAttributes.cs
- ParameterCollection.cs
- BitArray.cs
- TextFormatterHost.cs
- TreeViewEvent.cs
- PrimarySelectionGlyph.cs
- Pair.cs
- AppSecurityManager.cs
- XmlEncodedRawTextWriter.cs
- HorizontalAlignConverter.cs
- IndicCharClassifier.cs
- Compiler.cs
- HttpDateParse.cs
- Control.cs
- EntityCommandCompilationException.cs
- SessionStateModule.cs
- GetPageCompletedEventArgs.cs
- ValidatedMobileControlConverter.cs
- SerializationException.cs
- ACE.cs
- ImageSource.cs
- FindCriteriaElement.cs
- MILUtilities.cs
- MediaElement.cs
- Vector3DConverter.cs
- SemanticAnalyzer.cs
- SchemeSettingElement.cs
- DataGridViewCellStyleConverter.cs
- ExpressionCopier.cs
- ListControl.cs
- CacheModeConverter.cs
- MinimizableAttributeTypeConverter.cs
- SrgsDocument.cs
- VerificationException.cs
- TableCellAutomationPeer.cs
- SmtpDigestAuthenticationModule.cs
- GatewayIPAddressInformationCollection.cs
- TreeViewHitTestInfo.cs
- InkCanvasInnerCanvas.cs
- UInt64Storage.cs
- HijriCalendar.cs
- StrongNamePublicKeyBlob.cs
- QilCloneVisitor.cs
- CodeLinePragma.cs
- MailSettingsSection.cs
- NativeMethods.cs
- BoundField.cs
- ColumnHeader.cs
- HtmlInputText.cs
- SafeHandle.cs
- ProtocolViolationException.cs