Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DeferredTextReference.cs
- TypefaceCollection.cs
- StrokeNodeEnumerator.cs
- URL.cs
- GradientStop.cs
- PropertyCollection.cs
- cryptoapiTransform.cs
- RectConverter.cs
- ListBindingHelper.cs
- ListViewUpdateEventArgs.cs
- RegexInterpreter.cs
- shaperfactoryquerycacheentry.cs
- PointAnimation.cs
- TimeEnumHelper.cs
- util.cs
- HostingEnvironmentException.cs
- TypeListConverter.cs
- RuleSetDialog.cs
- ListItemCollection.cs
- WorkflowRuntimeService.cs
- DmlSqlGenerator.cs
- COAUTHIDENTITY.cs
- Geometry.cs
- Splitter.cs
- RuleSetReference.cs
- SqlTrackingService.cs
- XmlQualifiedName.cs
- ProgressBarAutomationPeer.cs
- MatrixKeyFrameCollection.cs
- SubclassTypeValidator.cs
- CultureNotFoundException.cs
- PagerSettings.cs
- DeferredSelectedIndexReference.cs
- EmissiveMaterial.cs
- BindingElement.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- SoapClientMessage.cs
- FontFaceLayoutInfo.cs
- Cloud.cs
- ObjectDataSourceFilteringEventArgs.cs
- URIFormatException.cs
- DBSchemaTable.cs
- IntPtr.cs
- StaticFileHandler.cs
- AnimationLayer.cs
- FontStyleConverter.cs
- CannotUnloadAppDomainException.cs
- EncryptedPackage.cs
- StrokeCollectionDefaultValueFactory.cs
- SchemaReference.cs
- BrowserCapabilitiesCodeGenerator.cs
- GridItemPattern.cs
- TreeBuilderBamlTranslator.cs
- SymbolMethod.cs
- PresentationTraceSources.cs
- JsonEncodingStreamWrapper.cs
- MembershipValidatePasswordEventArgs.cs
- EntityAdapter.cs
- PartialCachingAttribute.cs
- XappLauncher.cs
- XmlSchemaExternal.cs
- FacetDescription.cs
- MailSettingsSection.cs
- DataContractSerializerElement.cs
- OperationAbortedException.cs
- DataGridViewCellEventArgs.cs
- CompilerScope.cs
- CommonProperties.cs
- SparseMemoryStream.cs
- ErrorEventArgs.cs
- OperatingSystem.cs
- ChameleonKey.cs
- WebPartMenuStyle.cs
- GrammarBuilderBase.cs
- ErrorWrapper.cs
- LineSegment.cs
- Enum.cs
- DesignerProperties.cs
- CngProvider.cs
- FacetValueContainer.cs
- TextParaClient.cs
- SqlDataReader.cs
- HtmlTable.cs
- WebPartConnectionsCloseVerb.cs
- Cursors.cs
- SqlStatistics.cs
- DocumentApplicationState.cs
- HtmlUtf8RawTextWriter.cs
- LinearQuaternionKeyFrame.cs
- COM2Properties.cs
- BrowserCapabilitiesFactoryBase.cs
- MethodExecutor.cs
- CodeGroup.cs
- DataRelationPropertyDescriptor.cs
- Stack.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- CompiledRegexRunner.cs
- StatusBar.cs
- SchemaTableOptionalColumn.cs
- LinearKeyFrames.cs