Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx35 / System.WorkflowServices / System / Workflow / Activities / ReceiveContextCollection.cs / 1305376 / ReceiveContextCollection.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Workflow.Activities { using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.ServiceModel; using System.ServiceModel.Channels; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Workflow.Runtime; [Serializable] internal sealed class ReceiveContextCollection : KeyedCollection{ [SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")] public static readonly DependencyProperty ReceiveContextCollectionProperty = DependencyProperty.RegisterAttached("ReceiveContextCollection", typeof(ReceiveContextCollection), typeof(ReceiveContextCollection)); public ReceiveContextCollection() { } public ReceiveContext GetItem(string key) { return this[key]; } protected override void ClearItems() { base.ClearItems(); } protected override string GetKeyForItem(ReceiveContext item) { return item.Name; } protected override void InsertItem(int index, ReceiveContext item) { if (item == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item"); } base.InsertItem(index, item); } protected override void RemoveItem(int index) { base.RemoveItem(index); } protected override void SetItem(int index, ReceiveContext item) { if (item == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("item"); } base.SetItem(index, item); } } } // 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
- Odbc32.cs
- HScrollProperties.cs
- DesignerActionPropertyItem.cs
- MouseEvent.cs
- Line.cs
- IISUnsafeMethods.cs
- PathGradientBrush.cs
- ReceiveContext.cs
- WebCategoryAttribute.cs
- DictionaryEntry.cs
- WebBrowser.cs
- HttpHandlerActionCollection.cs
- MulticastOption.cs
- TextEditorThreadLocalStore.cs
- XmlConvert.cs
- StringToken.cs
- AspCompat.cs
- Baml2006ReaderContext.cs
- SapiRecognizer.cs
- RC2.cs
- ChildTable.cs
- ContextInformation.cs
- ConfigurationCollectionAttribute.cs
- ProtectedProviderSettings.cs
- DataGridViewTopRowAccessibleObject.cs
- DataSourceView.cs
- CornerRadiusConverter.cs
- Axis.cs
- SoapSchemaImporter.cs
- ScrollData.cs
- SwitchLevelAttribute.cs
- XmlSchemaSimpleContentExtension.cs
- DependencyPropertyDescriptor.cs
- WebPartChrome.cs
- InvokeBase.cs
- GeneralTransformGroup.cs
- ColorPalette.cs
- Shape.cs
- XmlSerializerFactory.cs
- IsolatedStorage.cs
- SqlCommandBuilder.cs
- VectorKeyFrameCollection.cs
- CalloutQueueItem.cs
- SubMenuStyleCollection.cs
- _ProxyRegBlob.cs
- RoleService.cs
- TabItemAutomationPeer.cs
- SchemaCreator.cs
- ViewManagerAttribute.cs
- AtomMaterializer.cs
- ProfileProvider.cs
- MDIControlStrip.cs
- ImportCatalogPart.cs
- OleAutBinder.cs
- MouseButton.cs
- ViewBox.cs
- UnsignedPublishLicense.cs
- EnumConverter.cs
- ToolStripGripRenderEventArgs.cs
- OdbcDataAdapter.cs
- FixedTextBuilder.cs
- LogSwitch.cs
- TextPenaltyModule.cs
- SqlUserDefinedAggregateAttribute.cs
- AnnotationService.cs
- SerializationObjectManager.cs
- RelatedImageListAttribute.cs
- StorageEntityTypeMapping.cs
- PassportAuthentication.cs
- DataRelationCollection.cs
- AsyncPostBackTrigger.cs
- CallTemplateAction.cs
- SerializationException.cs
- DetailsViewRowCollection.cs
- ColorConvertedBitmapExtension.cs
- ColorTranslator.cs
- HttpHandlersSection.cs
- CodeDOMUtility.cs
- SpecularMaterial.cs
- QilGenerator.cs
- ModelVisual3D.cs
- Utility.cs
- InputReferenceExpression.cs
- BaseInfoTable.cs
- BamlRecordHelper.cs
- ResourceAssociationTypeEnd.cs
- UnsafePeerToPeerMethods.cs
- Update.cs
- Line.cs
- XamlLoadErrorInfo.cs
- UIElementHelper.cs
- FormViewDeletedEventArgs.cs
- WhiteSpaceTrimStringConverter.cs
- WmpBitmapEncoder.cs
- OdbcReferenceCollection.cs
- basecomparevalidator.cs
- WeakReferenceEnumerator.cs
- AttributeXamlType.cs
- ThreadStaticAttribute.cs
- DataServiceHostFactory.cs