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
- ListBoxItem.cs
- EditCommandColumn.cs
- OutOfProcStateClientManager.cs
- WebBaseEventKeyComparer.cs
- FloaterParaClient.cs
- BamlWriter.cs
- Color.cs
- StylusDevice.cs
- GroupItem.cs
- XmlnsDefinitionAttribute.cs
- PointHitTestResult.cs
- RawAppCommandInputReport.cs
- CompModSwitches.cs
- ParagraphVisual.cs
- IndexedEnumerable.cs
- WorkflowWebHostingModule.cs
- CodeCatchClauseCollection.cs
- TouchFrameEventArgs.cs
- CodeNamespaceImport.cs
- CryptographicAttribute.cs
- BlobPersonalizationState.cs
- COM2EnumConverter.cs
- Byte.cs
- AsymmetricAlgorithm.cs
- ConfigurationElementCollection.cs
- DivideByZeroException.cs
- assertwrapper.cs
- PackUriHelper.cs
- InternalSafeNativeMethods.cs
- IgnoreFlushAndCloseStream.cs
- LinqDataSourceEditData.cs
- HTTPNotFoundHandler.cs
- ScriptingRoleServiceSection.cs
- OracleParameterBinding.cs
- CacheChildrenQuery.cs
- DependencyObjectCodeDomSerializer.cs
- SafeIUnknown.cs
- ContainerCodeDomSerializer.cs
- ObjectDisposedException.cs
- SamlSubject.cs
- __Filters.cs
- EmptyControlCollection.cs
- DesignerAdapterUtil.cs
- IPGlobalProperties.cs
- DataRow.cs
- UIElementCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- NamespaceDisplayAutomationPeer.cs
- FacetEnabledSchemaElement.cs
- ObjectAssociationEndMapping.cs
- BinHexEncoder.cs
- DocobjHost.cs
- DbModificationClause.cs
- XmlSchemaImporter.cs
- WindowsHyperlink.cs
- KnownColorTable.cs
- SaveFileDialog.cs
- CharEnumerator.cs
- ToolboxSnapDragDropEventArgs.cs
- HttpModulesSection.cs
- Effect.cs
- SqlDataReader.cs
- MenuScrollingVisibilityConverter.cs
- DecodeHelper.cs
- PrintPreviewGraphics.cs
- ControlCachePolicy.cs
- OdbcHandle.cs
- ApplicationManager.cs
- PointIndependentAnimationStorage.cs
- HttpRawResponse.cs
- WSDualHttpSecurityElement.cs
- ThousandthOfEmRealDoubles.cs
- _ConnectStream.cs
- BooleanKeyFrameCollection.cs
- WpfGeneratedKnownTypes.cs
- Semaphore.cs
- EntityObject.cs
- Odbc32.cs
- SqlIdentifier.cs
- SortedDictionary.cs
- diagnosticsswitches.cs
- CopyNamespacesAction.cs
- WeakRefEnumerator.cs
- EntityDataSourceStatementEditorForm.cs
- TrackingStringDictionary.cs
- CqlBlock.cs
- ClientSponsor.cs
- tibetanshape.cs
- StringDictionary.cs
- DataBindingHandlerAttribute.cs
- CookieProtection.cs
- EdmError.cs
- ValidatorCollection.cs
- StyleXamlParser.cs
- ContextQuery.cs
- PropertyEmitterBase.cs
- IPAddress.cs
- ClientRoleProvider.cs
- DeclaredTypeValidator.cs
- WarningException.cs