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
- BitSet.cs
- XmlSchemaGroupRef.cs
- ReturnValue.cs
- DataGridToolTip.cs
- BufferedReadStream.cs
- ToolStripGripRenderEventArgs.cs
- ChannelFactoryRefCache.cs
- NativeMethods.cs
- Padding.cs
- DetailsViewUpdatedEventArgs.cs
- SchemaConstraints.cs
- Types.cs
- EncoderFallback.cs
- Crc32.cs
- SecurityState.cs
- CursorInteropHelper.cs
- XmlArrayItemAttributes.cs
- ListViewItem.cs
- DecoderFallbackWithFailureFlag.cs
- PrePostDescendentsWalker.cs
- LabelLiteral.cs
- CodeThrowExceptionStatement.cs
- Debug.cs
- DocumentSequenceHighlightLayer.cs
- XmlIgnoreAttribute.cs
- FontStretch.cs
- ReadOnlyPropertyMetadata.cs
- XamlStyleSerializer.cs
- SuppressMessageAttribute.cs
- SymbolEqualComparer.cs
- ListViewPagedDataSource.cs
- AttributeSetAction.cs
- BufferedGraphicsContext.cs
- precedingsibling.cs
- StatusBarDrawItemEvent.cs
- EntityProviderFactory.cs
- DataSourceControlBuilder.cs
- TextRangeAdaptor.cs
- QilNode.cs
- TimeEnumHelper.cs
- EventTrigger.cs
- ManagementOperationWatcher.cs
- MessageSecurityOverHttp.cs
- EqualityComparer.cs
- NameValuePermission.cs
- TreeView.cs
- DataTableNewRowEvent.cs
- EntityConnectionStringBuilder.cs
- RegexWorker.cs
- CompareValidator.cs
- loginstatus.cs
- RequestResizeEvent.cs
- SHA384Managed.cs
- AnnotationResourceCollection.cs
- TextView.cs
- OdbcEnvironmentHandle.cs
- IssuedTokenClientCredential.cs
- LassoHelper.cs
- WebPartConnectionsConnectVerb.cs
- TimeSpan.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- FacetDescription.cs
- ExecutionContext.cs
- XPathDocumentIterator.cs
- CodeCatchClauseCollection.cs
- Point4D.cs
- StateMachineHistory.cs
- DbConnectionOptions.cs
- SuppressMessageAttribute.cs
- WindowAutomationPeer.cs
- PreviewPageInfo.cs
- QilExpression.cs
- WorkflowOwnershipException.cs
- PageSetupDialog.cs
- WebPartDeleteVerb.cs
- PropertyRecord.cs
- ListSourceHelper.cs
- AutomationPropertyInfo.cs
- ServiceOperationParameter.cs
- StateWorkerRequest.cs
- WinFormsSpinner.cs
- FreezableDefaultValueFactory.cs
- XomlCompiler.cs
- SqlSupersetValidator.cs
- DetailsViewUpdatedEventArgs.cs
- DataSourceComponent.cs
- PatternMatcher.cs
- GetWorkflowTree.cs
- ObfuscateAssemblyAttribute.cs
- _ProxyRegBlob.cs
- HMACSHA512.cs
- LoadItemsEventArgs.cs
- MultiSelector.cs
- ReferencedAssembly.cs
- XmlBinaryWriter.cs
- BaseCodeDomTreeGenerator.cs
- ScrollViewerAutomationPeer.cs
- EventInfo.cs
- SqlServer2KCompatibilityCheck.cs
- ScrollableControl.cs