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
- XPathSelfQuery.cs
- ClassHandlersStore.cs
- ColumnMapCopier.cs
- StateWorkerRequest.cs
- Win32.cs
- IncrementalCompileAnalyzer.cs
- _ScatterGatherBuffers.cs
- TextEvent.cs
- Connector.cs
- LocalizabilityAttribute.cs
- SchemaElementLookUpTableEnumerator.cs
- HashCodeCombiner.cs
- WaitHandle.cs
- SharedPersonalizationStateInfo.cs
- XmlNullResolver.cs
- ForceCopyBuildProvider.cs
- Psha1DerivedKeyGenerator.cs
- PriorityBindingExpression.cs
- ControlType.cs
- RtType.cs
- ScriptResourceDefinition.cs
- HtmlSelect.cs
- FloatUtil.cs
- TextCompositionEventArgs.cs
- NoPersistScope.cs
- PnrpPermission.cs
- MultiTargetingUtil.cs
- ArrayElementGridEntry.cs
- OracleCommandBuilder.cs
- StubHelpers.cs
- WindowsListView.cs
- CorePropertiesFilter.cs
- DataGridViewRowCollection.cs
- ListViewDeleteEventArgs.cs
- BitmapEffectGeneralTransform.cs
- XNodeSchemaApplier.cs
- FormViewPagerRow.cs
- KeyInterop.cs
- TextFormatterHost.cs
- QueryContinueDragEvent.cs
- DrawingContextWalker.cs
- Configuration.cs
- XamlTreeBuilderBamlRecordWriter.cs
- Ref.cs
- XmlMemberMapping.cs
- HtmlControlPersistable.cs
- Range.cs
- ConfigurationStrings.cs
- QilValidationVisitor.cs
- ErrorFormatter.cs
- ByteRangeDownloader.cs
- HttpRequest.cs
- PolicyManager.cs
- AssemblyResourceLoader.cs
- RawStylusInput.cs
- SafeEventLogReadHandle.cs
- SchemaElementLookUpTable.cs
- RSACryptoServiceProvider.cs
- SerTrace.cs
- Application.cs
- DataSourceUtil.cs
- Parameter.cs
- _Win32.cs
- CompareValidator.cs
- ReaderContextStackData.cs
- RtfNavigator.cs
- TableAdapterManagerNameHandler.cs
- Button.cs
- ProbeDuplexAsyncResult.cs
- PropertyGridEditorPart.cs
- EncodingInfo.cs
- RectangleF.cs
- InfocardExtendedInformationEntry.cs
- unsafenativemethodstextservices.cs
- ArgumentsParser.cs
- ProxyAssemblyNotLoadedException.cs
- ASCIIEncoding.cs
- ElementProxy.cs
- PageContentCollection.cs
- SignalGate.cs
- ProfilePropertySettingsCollection.cs
- glyphs.cs
- DataPagerCommandEventArgs.cs
- ListViewInsertionMark.cs
- SqlDataSourceCommandParser.cs
- Message.cs
- MaskedTextBoxTextEditor.cs
- QilTernary.cs
- HtmlForm.cs
- RegionIterator.cs
- xmlformatgeneratorstatics.cs
- OrthographicCamera.cs
- odbcmetadatacolumnnames.cs
- ChangeProcessor.cs
- ProcessHost.cs
- WindowsImpersonationContext.cs
- DictionarySectionHandler.cs
- HttpApplication.cs
- DrawingBrush.cs
- RichTextBox.cs