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
- DateTimeUtil.cs
- InProcStateClientManager.cs
- RelationshipConverter.cs
- DescendantOverDescendantQuery.cs
- ReachSerializableProperties.cs
- ListBoxAutomationPeer.cs
- SerializationSectionGroup.cs
- Trigger.cs
- NativeStructs.cs
- DataGridViewRowCancelEventArgs.cs
- FormatPage.cs
- HttpCacheParams.cs
- SymmetricCryptoHandle.cs
- SortFieldComparer.cs
- Encoder.cs
- ManagementEventWatcher.cs
- EventLogPermission.cs
- PageStatePersister.cs
- XmlAnyElementAttributes.cs
- Vector3DKeyFrameCollection.cs
- OleDbDataAdapter.cs
- StateMachine.cs
- Or.cs
- CodeTypeDelegate.cs
- Contracts.cs
- GPPOINTF.cs
- RegexWorker.cs
- PrincipalPermission.cs
- BamlMapTable.cs
- HitTestParameters.cs
- MetadataCache.cs
- NotifyParentPropertyAttribute.cs
- NavigatorInvalidBodyAccessException.cs
- CompositeActivityValidator.cs
- Ref.cs
- ArgIterator.cs
- MethodBuilder.cs
- XmlSchemaType.cs
- dsa.cs
- DesignTimeSiteMapProvider.cs
- StickyNote.cs
- TextBoxRenderer.cs
- SolidBrush.cs
- Knowncolors.cs
- JsonFormatWriterGenerator.cs
- DefaultExpression.cs
- ToolStripLabel.cs
- DoWorkEventArgs.cs
- WindowsToolbarAsMenu.cs
- FunctionUpdateCommand.cs
- RenderingEventArgs.cs
- XomlCompilerResults.cs
- InitializationEventAttribute.cs
- PropertyPathConverter.cs
- XmlName.cs
- HttpVersion.cs
- CopyNamespacesAction.cs
- Debug.cs
- __Error.cs
- CanonicalXml.cs
- CryptoHandle.cs
- DataReaderContainer.cs
- SelectedDatesCollection.cs
- WebSysDefaultValueAttribute.cs
- DataTableCollection.cs
- SqlErrorCollection.cs
- AttachmentCollection.cs
- DBSchemaTable.cs
- CodeTypeReferenceSerializer.cs
- Literal.cs
- listitem.cs
- AuthenticatedStream.cs
- Compensation.cs
- PackageStore.cs
- JsonEnumDataContract.cs
- FieldTemplateFactory.cs
- URLEditor.cs
- ServiceModelStringsVersion1.cs
- CodePropertyReferenceExpression.cs
- PersonalizationStateInfoCollection.cs
- UrlMappingsSection.cs
- SQLMembershipProvider.cs
- IriParsingElement.cs
- Parser.cs
- TranslateTransform.cs
- DataKeyArray.cs
- GridViewColumnHeader.cs
- MediaCommands.cs
- BidirectionalDictionary.cs
- WebPartVerbsEventArgs.cs
- FactoryGenerator.cs
- FormCollection.cs
- SafeFindHandle.cs
- JsonSerializer.cs
- TextEditorCharacters.cs
- Point3DKeyFrameCollection.cs
- VirtualizingPanel.cs
- FileEnumerator.cs
- UndirectedGraph.cs
- CalendarDataBindingHandler.cs