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
- TextWriterTraceListener.cs
- ProtectedProviderSettings.cs
- BroadcastEventHelper.cs
- ComponentDispatcherThread.cs
- ProviderConnectionPoint.cs
- ComboBox.cs
- BitmapSizeOptions.cs
- SymbolMethod.cs
- CodeArgumentReferenceExpression.cs
- ItemCollection.cs
- ResXFileRef.cs
- HttpException.cs
- EnumerableCollectionView.cs
- ConcurrencyMode.cs
- ArgumentOutOfRangeException.cs
- DesignerSelectionListAdapter.cs
- RelationshipType.cs
- _NegotiateClient.cs
- oledbmetadatacollectionnames.cs
- ProjectionPathSegment.cs
- ToolStripItemImageRenderEventArgs.cs
- DebugHandleTracker.cs
- XamlParser.cs
- GenericTransactionFlowAttribute.cs
- XmlSchemaObject.cs
- HttpCacheParams.cs
- RepeaterDesigner.cs
- OleDbRowUpdatingEvent.cs
- CollectionDataContractAttribute.cs
- CodeBinaryOperatorExpression.cs
- MULTI_QI.cs
- ScriptHandlerFactory.cs
- TableRowCollection.cs
- DoubleCollectionConverter.cs
- MenuItem.cs
- CatchDesigner.xaml.cs
- MonthChangedEventArgs.cs
- DbProviderFactory.cs
- DocumentPaginator.cs
- ValidationError.cs
- SystemBrushes.cs
- FixedSOMTable.cs
- XmlDeclaration.cs
- PeerNameRegistration.cs
- Logging.cs
- CriticalHandle.cs
- IdentityHolder.cs
- DataPagerFieldCollection.cs
- TokenCreationParameter.cs
- DataSysAttribute.cs
- HashMembershipCondition.cs
- TraceHandler.cs
- CalloutQueueItem.cs
- MarshalDirectiveException.cs
- SafeThemeHandle.cs
- RepeatButtonAutomationPeer.cs
- ApplicationFileParser.cs
- BackStopAuthenticationModule.cs
- Pool.cs
- TextTreeObjectNode.cs
- OleDbPermission.cs
- ObjectDataSourceEventArgs.cs
- TransactionContextValidator.cs
- WebSysDefaultValueAttribute.cs
- ClassData.cs
- AspNetSynchronizationContext.cs
- RefType.cs
- xsdvalidator.cs
- ExplicitDiscriminatorMap.cs
- HwndTarget.cs
- BindingCollection.cs
- DataSvcMapFile.cs
- KeyValueConfigurationElement.cs
- TextRunCache.cs
- DayRenderEvent.cs
- MethodCallTranslator.cs
- GridViewDeletedEventArgs.cs
- XmlTextReaderImplHelpers.cs
- ImageAnimator.cs
- OutputWindow.cs
- activationcontext.cs
- SafeRightsManagementSessionHandle.cs
- LambdaCompiler.Lambda.cs
- TextRangeEdit.cs
- TraceRecord.cs
- ReachUIElementCollectionSerializer.cs
- xml.cs
- SystemColors.cs
- RequestCacheValidator.cs
- MenuItem.cs
- SqlSelectStatement.cs
- LiteralText.cs
- LassoSelectionBehavior.cs
- SessionIDManager.cs
- CqlQuery.cs
- DataGridViewUtilities.cs
- WebPartTransformerAttribute.cs
- XmlEntityReference.cs
- RawStylusActions.cs
- VectorCollectionValueSerializer.cs