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
- ZipPackage.cs
- FrameworkContentElementAutomationPeer.cs
- DataComponentGenerator.cs
- HtmlTernaryTree.cs
- BamlBinaryWriter.cs
- SharedConnectionInfo.cs
- MLangCodePageEncoding.cs
- DrawingDrawingContext.cs
- Glyph.cs
- SmiContext.cs
- StreamGeometry.cs
- Main.cs
- Privilege.cs
- UInt64.cs
- ClassHandlersStore.cs
- LexicalChunk.cs
- FixedTextView.cs
- SqlDataSourceView.cs
- DesignerForm.cs
- PenThreadPool.cs
- DateTimeUtil.cs
- SqlDelegatedTransaction.cs
- ImageEditor.cs
- ScriptingAuthenticationServiceSection.cs
- QueryParameter.cs
- DesignerListAdapter.cs
- WindowsSecurityToken.cs
- BrowserCapabilitiesCodeGenerator.cs
- RouteParameter.cs
- ApplicationId.cs
- DataServiceKeyAttribute.cs
- InputLanguageSource.cs
- XmlDesignerDataSourceView.cs
- PerformanceCounterCategory.cs
- StateManagedCollection.cs
- QueryOutputWriter.cs
- GridItemPattern.cs
- StringComparer.cs
- XhtmlBasicValidationSummaryAdapter.cs
- UniqueConstraint.cs
- CompilationAssemblyInstallComponent.cs
- FileSystemWatcher.cs
- EnvironmentPermission.cs
- FixedDocumentSequencePaginator.cs
- CursorConverter.cs
- ThreadStaticAttribute.cs
- CrossContextChannel.cs
- EncryptedXml.cs
- DocumentViewer.cs
- LinqDataSourceValidationException.cs
- DataGridViewColumnHeaderCell.cs
- newinstructionaction.cs
- MimeMultiPart.cs
- Utility.cs
- JoinTreeNode.cs
- IItemProperties.cs
- DataTableClearEvent.cs
- DecoderExceptionFallback.cs
- RouteValueDictionary.cs
- ProtocolsConfigurationHandler.cs
- BasicHttpBinding.cs
- SmiGettersStream.cs
- DocumentApplicationJournalEntryEventArgs.cs
- HighContrastHelper.cs
- Font.cs
- CodeNamespaceImportCollection.cs
- ClientTarget.cs
- TextTreeUndo.cs
- WindowsComboBox.cs
- Stack.cs
- ParameterElementCollection.cs
- JoinElimination.cs
- DependencyPropertyAttribute.cs
- RegexWorker.cs
- Action.cs
- SimpleMailWebEventProvider.cs
- CodeValidator.cs
- ColorTypeConverter.cs
- BaseValidatorDesigner.cs
- XPathMessageContext.cs
- LabelExpression.cs
- ScrollBarRenderer.cs
- x509utils.cs
- ControlAdapter.cs
- DesignerLoader.cs
- InputLanguageSource.cs
- ContextProperty.cs
- TemplateApplicationHelper.cs
- DataGridViewCellStyleBuilderDialog.cs
- RijndaelManaged.cs
- ISFTagAndGuidCache.cs
- RijndaelManaged.cs
- ThreadStartException.cs
- DateTime.cs
- PageSettings.cs
- ComponentChangedEvent.cs
- FrameworkReadOnlyPropertyMetadata.cs
- UrlMappingsSection.cs
- StrongNameKeyPair.cs
- RijndaelManagedTransform.cs