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
- ConfigXmlAttribute.cs
- WebPartChrome.cs
- VisualCollection.cs
- TextBreakpoint.cs
- FormViewInsertEventArgs.cs
- XmlException.cs
- BaseDataListComponentEditor.cs
- DirectionalLight.cs
- BulletedList.cs
- ListControl.cs
- WinEventQueueItem.cs
- VideoDrawing.cs
- X509SubjectKeyIdentifierClause.cs
- ColumnHeaderConverter.cs
- ToolBarButton.cs
- Geometry.cs
- StateBag.cs
- SubclassTypeValidatorAttribute.cs
- TypeExtension.cs
- XsltLoader.cs
- RuntimeUtils.cs
- IUnknownConstantAttribute.cs
- DesignSurfaceManager.cs
- XmlQualifiedName.cs
- TypeConstant.cs
- Journaling.cs
- HttpModuleActionCollection.cs
- ExpressionVisitor.cs
- BoundField.cs
- LocalizeDesigner.cs
- QueryGeneratorBase.cs
- IPEndPoint.cs
- BuilderPropertyEntry.cs
- RequestNavigateEventArgs.cs
- ConfigurationSectionGroup.cs
- HttpCookie.cs
- StringSorter.cs
- WebPartZoneBase.cs
- XmlNamespaceMappingCollection.cs
- InitializationEventAttribute.cs
- SQLUtility.cs
- ScopedKnownTypes.cs
- LinkUtilities.cs
- LinqDataSourceInsertEventArgs.cs
- AdornerLayer.cs
- DetailsView.cs
- CellPartitioner.cs
- Enum.cs
- ErrorStyle.cs
- CodeRemoveEventStatement.cs
- ContainerActivationHelper.cs
- LinkedList.cs
- Literal.cs
- ChildrenQuery.cs
- AssemblyHash.cs
- CodeDirectoryCompiler.cs
- XmlExceptionHelper.cs
- SelectionPattern.cs
- NullableLongSumAggregationOperator.cs
- TerminatorSinks.cs
- LogicalExpr.cs
- compensatingcollection.cs
- ComboBoxAutomationPeer.cs
- InvokeDelegate.cs
- SQLInt64.cs
- DataRecordInfo.cs
- DebugInfoExpression.cs
- Viewport3DAutomationPeer.cs
- InvokeWebServiceDesigner.cs
- Latin1Encoding.cs
- ConditionalAttribute.cs
- CommandField.cs
- DesignerVerbCollection.cs
- TextParaClient.cs
- TransformProviderWrapper.cs
- Switch.cs
- CodePageUtils.cs
- TdsParameterSetter.cs
- DataGridViewSelectedColumnCollection.cs
- Peer.cs
- FormView.cs
- oledbconnectionstring.cs
- GlyphRun.cs
- ButtonBaseDesigner.cs
- CounterSampleCalculator.cs
- HtmlGenericControl.cs
- BlockCollection.cs
- ToolStripLabel.cs
- SqlClientMetaDataCollectionNames.cs
- TreeNodeEventArgs.cs
- SqlAliasesReferenced.cs
- UIElementParaClient.cs
- TextOutput.cs
- LinkLabel.cs
- DataGridViewCellCollection.cs
- XmlDownloadManager.cs
- AttributeQuery.cs
- SqlProviderServices.cs
- AssemblyHash.cs
- ObjectParameter.cs