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
- ProcessInfo.cs
- ChangePassword.cs
- DataIdProcessor.cs
- FontConverter.cs
- InvokeMethodActivity.cs
- AdRotator.cs
- StoreContentChangedEventArgs.cs
- MediaContext.cs
- ASCIIEncoding.cs
- Paragraph.cs
- RadioButtonRenderer.cs
- Attributes.cs
- XPathDocumentNavigator.cs
- TextEditorThreadLocalStore.cs
- OLEDB_Enum.cs
- CodeThrowExceptionStatement.cs
- DataGridViewColumnStateChangedEventArgs.cs
- RewritingPass.cs
- InteropAutomationProvider.cs
- CatalogPart.cs
- SmiRecordBuffer.cs
- NameSpaceEvent.cs
- BoundField.cs
- OleDbEnumerator.cs
- TextTreeInsertElementUndoUnit.cs
- ServiceContractViewControl.Designer.cs
- XmlWriterDelegator.cs
- EdmProperty.cs
- XmlParserContext.cs
- Int32AnimationUsingKeyFrames.cs
- PlatformCulture.cs
- FrugalMap.cs
- WebConfigurationFileMap.cs
- DrawingContextWalker.cs
- UIElement3D.cs
- PatternMatcher.cs
- AccessibleObject.cs
- RadioButtonAutomationPeer.cs
- CompleteWizardStep.cs
- MimeParameterWriter.cs
- BindingCollection.cs
- TextEditorTyping.cs
- EdgeModeValidation.cs
- Page.cs
- ProjectedSlot.cs
- HtmlInputText.cs
- PointConverter.cs
- UrlAuthFailedErrorFormatter.cs
- SHA256Managed.cs
- RevocationPoint.cs
- SqlLiftIndependentRowExpressions.cs
- MemberJoinTreeNode.cs
- DebugInfoExpression.cs
- XmlSchemaComplexContentExtension.cs
- TimeSpanFormat.cs
- RegexMatch.cs
- DesignerDataStoredProcedure.cs
- EntityConnectionStringBuilder.cs
- Simplifier.cs
- Array.cs
- TraceUtility.cs
- TypeToStringValueConverter.cs
- Int64Animation.cs
- GenericsInstances.cs
- ExpressionsCollectionConverter.cs
- PenThreadWorker.cs
- InvalidOperationException.cs
- SplineKeyFrames.cs
- ContainerControl.cs
- AQNBuilder.cs
- PersonalizationDictionary.cs
- DataServiceConfiguration.cs
- MaterializeFromAtom.cs
- SQLBytes.cs
- TemplatedMailWebEventProvider.cs
- XmlAttribute.cs
- NativeObjectSecurity.cs
- IUnknownConstantAttribute.cs
- IndentedWriter.cs
- WebHttpBindingCollectionElement.cs
- ConvertBinder.cs
- CreateInstanceBinder.cs
- OperationCanceledException.cs
- MappingItemCollection.cs
- DataGridViewButtonColumn.cs
- Activator.cs
- MessageQueueCriteria.cs
- Config.cs
- HtmlFormParameterReader.cs
- ImageSource.cs
- MessageBox.cs
- TextPointer.cs
- CardSpaceShim.cs
- DataSourceHelper.cs
- FreezableDefaultValueFactory.cs
- Visitor.cs
- HashHelpers.cs
- XamlBuildTaskServices.cs
- DeclarationUpdate.cs
- SqlMethodCallConverter.cs