Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- VariableQuery.cs
- SpeakInfo.cs
- DynamicMetaObjectBinder.cs
- DataGridHelper.cs
- QueryResult.cs
- DocumentViewerAutomationPeer.cs
- MemoryMappedViewAccessor.cs
- NamespaceTable.cs
- LeaseManager.cs
- ChannelEndpointElementCollection.cs
- ExceptionHandlers.cs
- _Win32.cs
- RoamingStoreFile.cs
- Instrumentation.cs
- SqlCrossApplyToCrossJoin.cs
- DefaultTextStore.cs
- TypeUsageBuilder.cs
- FixedTextContainer.cs
- DependencySource.cs
- NamedPipeHostedTransportConfiguration.cs
- WSSecurityTokenSerializer.cs
- AsymmetricKeyExchangeFormatter.cs
- RadioButtonRenderer.cs
- RegexWriter.cs
- FileDialogPermission.cs
- TableLayoutPanelCellPosition.cs
- SettingsAttributes.cs
- TextDecorationCollection.cs
- Cursors.cs
- AutomationPropertyChangedEventArgs.cs
- TimerEventSubscription.cs
- SqlDuplicator.cs
- SchemeSettingElement.cs
- DrawingVisual.cs
- FrugalList.cs
- StringDictionaryWithComparer.cs
- UserControlAutomationPeer.cs
- WebCodeGenerator.cs
- TrustManagerPromptUI.cs
- TypeTypeConverter.cs
- ExceptionRoutedEventArgs.cs
- NetPipeSectionData.cs
- CodeCatchClauseCollection.cs
- XhtmlTextWriter.cs
- EnvelopedSignatureTransform.cs
- prefixendpointaddressmessagefiltertable.cs
- PopupControlService.cs
- CopyOnWriteList.cs
- CodePageUtils.cs
- PlainXmlWriter.cs
- EventOpcode.cs
- NegationPusher.cs
- AnnotationStore.cs
- NamespaceQuery.cs
- FindSimilarActivitiesVerb.cs
- BindingCollection.cs
- Win32NamedPipes.cs
- AnnotationResourceChangedEventArgs.cs
- TaskHelper.cs
- InstanceDataCollection.cs
- SecureEnvironment.cs
- DesignTimeHTMLTextWriter.cs
- PermissionSetTriple.cs
- Application.cs
- RegexCharClass.cs
- X509Utils.cs
- XmlNotation.cs
- CompositeTypefaceMetrics.cs
- PassportPrincipal.cs
- ConditionalAttribute.cs
- Permission.cs
- AppSettingsSection.cs
- FileCodeGroup.cs
- DateTimeUtil.cs
- SerializationSectionGroup.cs
- SqlPersonalizationProvider.cs
- File.cs
- Schema.cs
- StyleBamlRecordReader.cs
- AnnotationResourceChangedEventArgs.cs
- WebPartsPersonalization.cs
- SafeRightsManagementSessionHandle.cs
- ProgressPage.cs
- _OverlappedAsyncResult.cs
- PermissionRequestEvidence.cs
- SettingsSection.cs
- TreeViewDataItemAutomationPeer.cs
- printdlgexmarshaler.cs
- FormsIdentity.cs
- SecurityBindingElementImporter.cs
- ScrollViewerAutomationPeer.cs
- EDesignUtil.cs
- WhitespaceSignificantCollectionAttribute.cs
- MembershipValidatePasswordEventArgs.cs
- TcpClientChannel.cs
- SByteStorage.cs
- LocalizedNameDescriptionPair.cs
- TraceContextEventArgs.cs
- AutoSizeToolBoxItem.cs
- EdmItemCollection.cs