Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Activities / System / ServiceModel / MessageQuerySet.cs / 1305376 / MessageQuerySet.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel { using System.Collections.Generic; using System.ComponentModel; using System.ServiceModel.Activities; using System.ServiceModel.Dispatcher; using System.Diagnostics.CodeAnalysis; using System.Runtime; using System.Runtime.Serialization; using System.Security.Permissions; [SuppressMessage(FxCop.Category.Naming, FxCop.Rule.IdentifiersShouldHaveCorrectSuffix, Justification = "Arch approved name")] [SuppressMessage(FxCop.Category.Usage, FxCop.Rule.MarkISerializableTypesWithSerializable, Justification = "TODO 87908, We can consider not deriving from Dictionary")] public class MessageQuerySet : Dictionary{ public MessageQuerySet() { } public MessageQuerySet(MessageQueryTable queryTable) { if (queryTable == null) { throw FxTrace.Exception.ArgumentNull("queryTable"); } InvertDictionary (queryTable, this); } [DefaultValue(null)] public string Name { get; set; } public MessageQueryTable GetMessageQueryTable() { MessageQueryTable result = new MessageQueryTable (); InvertDictionary (this, result); return result; } static void InvertDictionary (IDictionary source, IDictionary destination) { foreach (KeyValuePair vkpair in source) { destination.Add(vkpair.Value, vkpair.Key); } } } } // 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
- EngineSiteSapi.cs
- DataBoundControlActionList.cs
- RenderTargetBitmap.cs
- MaskedTextBoxTextEditor.cs
- PersonalizationAdministration.cs
- WebHttpEndpointElement.cs
- FileInfo.cs
- XmlArrayAttribute.cs
- ScaleTransform3D.cs
- OdbcErrorCollection.cs
- AsyncDataRequest.cs
- FormParameter.cs
- PerspectiveCamera.cs
- DataGridViewUtilities.cs
- PageAsyncTaskManager.cs
- BypassElement.cs
- ContractMapping.cs
- Int32Converter.cs
- RayHitTestParameters.cs
- DataBinder.cs
- HttpResponse.cs
- ConstructorNeedsTagAttribute.cs
- DrawingImage.cs
- MediaCommands.cs
- EpmSyndicationContentDeSerializer.cs
- ChannelCacheSettings.cs
- RuntimeConfigurationRecord.cs
- TrustManager.cs
- CodeCompiler.cs
- precedingsibling.cs
- StrokeIntersection.cs
- TabRenderer.cs
- WindowsRichEditRange.cs
- TextSelection.cs
- FormsAuthenticationCredentials.cs
- SqlOuterApplyReducer.cs
- NullableConverter.cs
- MarkupExtensionParser.cs
- RenamedEventArgs.cs
- SynchronizedInputProviderWrapper.cs
- Atom10FeedFormatter.cs
- MatrixTransform.cs
- SqlSupersetValidator.cs
- DirectionalLight.cs
- NetMsmqSecurityMode.cs
- CompilationSection.cs
- LocationChangedEventArgs.cs
- DataSourceHelper.cs
- SchemaAttDef.cs
- RequestCacheValidator.cs
- PartialCachingControl.cs
- WizardStepBase.cs
- ClassHandlersStore.cs
- CodePageEncoding.cs
- PropertyValueChangedEvent.cs
- ExpressionNormalizer.cs
- KoreanLunisolarCalendar.cs
- Popup.cs
- XmlIlGenerator.cs
- Rect3D.cs
- StringArrayConverter.cs
- KerberosTicketHashIdentifierClause.cs
- GeneralTransform3DGroup.cs
- ObjectStateManager.cs
- AccessibleObject.cs
- AsymmetricSignatureDeformatter.cs
- NativeMethods.cs
- ProfileSettings.cs
- HtmlToClrEventProxy.cs
- RuleConditionDialog.cs
- NameTable.cs
- ScriptingProfileServiceSection.cs
- TimeStampChecker.cs
- ParseChildrenAsPropertiesAttribute.cs
- ADMembershipProvider.cs
- Size3DValueSerializer.cs
- ChameleonKey.cs
- SoapExtensionTypeElement.cs
- NextPreviousPagerField.cs
- ChildDocumentBlock.cs
- ListControl.cs
- IpcClientManager.cs
- ScrollItemPattern.cs
- SettingsSection.cs
- HtmlGenericControl.cs
- SmuggledIUnknown.cs
- WebEventTraceProvider.cs
- GridViewRowPresenterBase.cs
- RecommendedAsConfigurableAttribute.cs
- C14NUtil.cs
- ResourceManagerWrapper.cs
- Tuple.cs
- UniqueEventHelper.cs
- X500Name.cs
- HtmlElementEventArgs.cs
- RequestCache.cs
- OverflowException.cs
- FtpWebRequest.cs
- WindowsToolbar.cs
- GridItemPattern.cs