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
- TextPattern.cs
- BindingExpressionUncommonField.cs
- XmlMtomWriter.cs
- EntityDataSourceStatementEditor.cs
- TextBoxBase.cs
- TableItemStyle.cs
- ComboBoxItem.cs
- ChildTable.cs
- CalendarDateRangeChangingEventArgs.cs
- FilteredDataSetHelper.cs
- DataGridViewLinkColumn.cs
- AppDomainFactory.cs
- SmtpMail.cs
- TableColumn.cs
- UpdatePanelTrigger.cs
- _StreamFramer.cs
- CodeSnippetStatement.cs
- ManifestBasedResourceGroveler.cs
- PostBackTrigger.cs
- CustomAttribute.cs
- GeneralTransform2DTo3D.cs
- _NestedSingleAsyncResult.cs
- HyperLinkField.cs
- VisualCollection.cs
- IssuanceLicense.cs
- MeshGeometry3D.cs
- DbQueryCommandTree.cs
- UriParserTemplates.cs
- HtmlTitle.cs
- Region.cs
- IndexerNameAttribute.cs
- AsymmetricKeyExchangeDeformatter.cs
- InternalConfigEventArgs.cs
- HitTestWithGeometryDrawingContextWalker.cs
- CssClassPropertyAttribute.cs
- SHA384.cs
- ConcurrentBag.cs
- FolderLevelBuildProvider.cs
- OracleParameter.cs
- SqlParameterCollection.cs
- IIS7WorkerRequest.cs
- CodePageUtils.cs
- StoreItemCollection.Loader.cs
- TextPenaltyModule.cs
- FaultContractInfo.cs
- HashRepartitionEnumerator.cs
- InheritanceAttribute.cs
- DeliveryRequirementsAttribute.cs
- ViewStateModeByIdAttribute.cs
- FixedSOMTextRun.cs
- XmlUrlResolver.cs
- EntityDataSourceWizardForm.cs
- LineBreakRecord.cs
- DaylightTime.cs
- BasicExpandProvider.cs
- Effect.cs
- LinqDataSourceEditData.cs
- EventHandlers.cs
- TakeQueryOptionExpression.cs
- Application.cs
- ColumnCollection.cs
- CodeGenerator.cs
- IncomingWebResponseContext.cs
- Stopwatch.cs
- PropertyKey.cs
- TcpClientCredentialType.cs
- EntitySqlException.cs
- AtomMaterializerLog.cs
- ExpressionReplacer.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- Vector3DAnimationUsingKeyFrames.cs
- BamlRecordHelper.cs
- StructuredTypeInfo.cs
- MonthChangedEventArgs.cs
- TrustManagerMoreInformation.cs
- TriState.cs
- EndpointAddressElementBase.cs
- XmlSchemaAny.cs
- MenuItemBinding.cs
- ResourceDefaultValueAttribute.cs
- DesignerCommandAdapter.cs
- CollectionViewProxy.cs
- SqlNodeAnnotations.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- NetworkCredential.cs
- RotateTransform.cs
- ProxyOperationRuntime.cs
- NeutralResourcesLanguageAttribute.cs
- RenderCapability.cs
- SqlGenericUtil.cs
- TypeElementCollection.cs
- BrowsableAttribute.cs
- EdmFunction.cs
- RowUpdatingEventArgs.cs
- PrintControllerWithStatusDialog.cs
- SpeakCompletedEventArgs.cs
- EditorPartChrome.cs
- ApplicationProxyInternal.cs
- EnumConverter.cs
- AdPostCacheSubstitution.cs