Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Channels / UnderstoodHeaders.cs / 1 / UnderstoodHeaders.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Channels { using System.Xml; using System.ServiceModel; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Runtime.Serialization; public sealed class UnderstoodHeaders : IEnumerable{ MessageHeaders messageHeaders; bool modified; internal UnderstoodHeaders(MessageHeaders messageHeaders) { this.messageHeaders = messageHeaders; } internal bool Modified { get { return modified; } set { modified = value; } } public void Add(MessageHeaderInfo headerInfo) { messageHeaders.AddUnderstood(headerInfo); modified = true; } public bool Contains(MessageHeaderInfo headerInfo) { return messageHeaders.IsUnderstood(headerInfo); } IEnumerator IEnumerable.GetEnumerator() { return this.GetEnumerator(); } public IEnumerator GetEnumerator() { return messageHeaders.GetUnderstoodEnumerator(); } public void Remove(MessageHeaderInfo headerInfo) { messageHeaders.RemoveUnderstood(headerInfo); modified = true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ViewStateModeByIdAttribute.cs
- SqlConnectionFactory.cs
- EntityDataSourceDesignerHelper.cs
- AuthorizationContext.cs
- MarginsConverter.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- BitmapCodecInfo.cs
- XmlDataSourceDesigner.cs
- HtmlWindowCollection.cs
- MdiWindowListStrip.cs
- ConfigurationValue.cs
- WmlValidationSummaryAdapter.cs
- TimeSpanValidator.cs
- SmiContextFactory.cs
- TreeNodeBinding.cs
- SqlBulkCopy.cs
- BuildManagerHost.cs
- GZipUtils.cs
- TextElementEnumerator.cs
- MenuItem.cs
- SecurityAttributeGenerationHelper.cs
- RuntimeConfigLKG.cs
- RtfToXamlLexer.cs
- ControlUtil.cs
- DurableInstanceProvider.cs
- RowsCopiedEventArgs.cs
- CompiledELinqQueryState.cs
- ErrorWrapper.cs
- Profiler.cs
- ISFTagAndGuidCache.cs
- EventToken.cs
- SmiEventStream.cs
- CapabilitiesPattern.cs
- _SslState.cs
- TrackingMemoryStream.cs
- QilValidationVisitor.cs
- Propagator.cs
- DynamicILGenerator.cs
- SpeechAudioFormatInfo.cs
- AnnotationAdorner.cs
- DataPager.cs
- path.cs
- OleServicesContext.cs
- AdjustableArrowCap.cs
- PtsHelper.cs
- StringFunctions.cs
- ActivationArguments.cs
- StackBuilderSink.cs
- ApplicationBuildProvider.cs
- ellipse.cs
- NameTable.cs
- SweepDirectionValidation.cs
- HeaderUtility.cs
- IndexerNameAttribute.cs
- ToolStripAdornerWindowService.cs
- CopyOnWriteList.cs
- X509Chain.cs
- ComboBox.cs
- AlternateViewCollection.cs
- BufferModesCollection.cs
- StringDictionaryCodeDomSerializer.cs
- OrderedDictionary.cs
- ProtocolsConfigurationHandler.cs
- MenuAdapter.cs
- ToolboxItemImageConverter.cs
- WebPartAuthorizationEventArgs.cs
- ToolTipAutomationPeer.cs
- ConnectionString.cs
- DataTemplateKey.cs
- ReplyChannelAcceptor.cs
- WindowsRichEdit.cs
- CodePageEncoding.cs
- Menu.cs
- QilUnary.cs
- FillBehavior.cs
- ITreeGenerator.cs
- SafeEventLogWriteHandle.cs
- Pair.cs
- HtmlTableRowCollection.cs
- UnsignedPublishLicense.cs
- ControlCachePolicy.cs
- CodeTypeDeclarationCollection.cs
- BlurBitmapEffect.cs
- IPAddress.cs
- TemplateControlParser.cs
- BulletChrome.cs
- StatusBarItemAutomationPeer.cs
- Color.cs
- EntityTransaction.cs
- NetworkInformationException.cs
- ReferencedCollectionType.cs
- FileDataSourceCache.cs
- InternalResources.cs
- SqlCrossApplyToCrossJoin.cs
- UserControlParser.cs
- WebPartVerbCollection.cs
- WorkflowLayouts.cs
- SecurityCredentialsManager.cs
- RayMeshGeometry3DHitTestResult.cs
- MediaElementAutomationPeer.cs