Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Configuration / WorkflowRuntimeServiceElementCollection.cs / 1305376 / WorkflowRuntimeServiceElementCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration; namespace System.Workflow.Runtime.Configuration { ///Collection of WorkflowRuntimeServiceSettings used by WorkflowRuntimeSection public class WorkflowRuntimeServiceElementCollection : ConfigurationElementCollection { ///Creates a new WorkflowRuntimeServiceSettings object ///An empty WorkflowRuntimeServiceSettings protected override ConfigurationElement CreateNewElement() { return new WorkflowRuntimeServiceElement(); } ///Returns the Type of the WorkflowRuntimeServiceSettings object /// The WorkflowRuntimeServiceSettings ///The Type name of the WorkflowRuntimeServiceSettings protected override object GetElementKey(ConfigurationElement settings) { return ((WorkflowRuntimeServiceElement)settings).Type; } ///Adds a WorkflowRuntimeServiceSettings object to this collection /// The settings object to add public void Add(WorkflowRuntimeServiceElement serviceSettings) { if (serviceSettings == null) throw new ArgumentNullException("serviceSettings"); base.BaseAdd(serviceSettings); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration; namespace System.Workflow.Runtime.Configuration { ///Collection of WorkflowRuntimeServiceSettings used by WorkflowRuntimeSection public class WorkflowRuntimeServiceElementCollection : ConfigurationElementCollection { ///Creates a new WorkflowRuntimeServiceSettings object ///An empty WorkflowRuntimeServiceSettings protected override ConfigurationElement CreateNewElement() { return new WorkflowRuntimeServiceElement(); } ///Returns the Type of the WorkflowRuntimeServiceSettings object /// The WorkflowRuntimeServiceSettings ///The Type name of the WorkflowRuntimeServiceSettings protected override object GetElementKey(ConfigurationElement settings) { return ((WorkflowRuntimeServiceElement)settings).Type; } ///Adds a WorkflowRuntimeServiceSettings object to this collection /// The settings object to add public void Add(WorkflowRuntimeServiceElement serviceSettings) { if (serviceSettings == null) throw new ArgumentNullException("serviceSettings"); base.BaseAdd(serviceSettings); } } } // 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
- SequenceFullException.cs
- XmlBindingWorker.cs
- SelectionProviderWrapper.cs
- PackageDocument.cs
- SortDescriptionCollection.cs
- LazyTextWriterCreator.cs
- ServerIdentity.cs
- ConfigurationManagerInternalFactory.cs
- InvalidWorkflowException.cs
- ValidationErrorInfo.cs
- OdbcConnectionOpen.cs
- ConfigurationValidatorBase.cs
- UnionCqlBlock.cs
- XmlSchemaCollection.cs
- VectorAnimationBase.cs
- AdornerHitTestResult.cs
- DbConnectionPoolIdentity.cs
- NonParentingControl.cs
- VisualState.cs
- TripleDESCryptoServiceProvider.cs
- WebServiceHandlerFactory.cs
- TabControlDesigner.cs
- Types.cs
- PageThemeCodeDomTreeGenerator.cs
- EncoderFallback.cs
- RuntimeArgumentHandle.cs
- InvalidPrinterException.cs
- TabControlEvent.cs
- MappingModelBuildProvider.cs
- NavigationProgressEventArgs.cs
- SqlGatherProducedAliases.cs
- TypeUtils.cs
- CatalogPartChrome.cs
- ProcessModuleCollection.cs
- ThemeDirectoryCompiler.cs
- MultiPartWriter.cs
- MsmqAuthenticationMode.cs
- DataGridRowEventArgs.cs
- EventQueueState.cs
- SessionStateContainer.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- HttpCookieCollection.cs
- SchemaTableColumn.cs
- Error.cs
- TextFormatterHost.cs
- UserInitiatedNavigationPermission.cs
- UrlParameterWriter.cs
- ConnectorSelectionGlyph.cs
- MachineKeySection.cs
- EventHandlersDesigner.cs
- SqlGatherConsumedAliases.cs
- ServiceObjectContainer.cs
- COM2PropertyDescriptor.cs
- Journal.cs
- RawUIStateInputReport.cs
- ScrollableControl.cs
- XPathNodePointer.cs
- OdbcDataAdapter.cs
- HostUtils.cs
- SQLMoneyStorage.cs
- SoapMessage.cs
- SqlMethodCallConverter.cs
- SqlTypeConverter.cs
- XmlDataDocument.cs
- DefaultBindingPropertyAttribute.cs
- RsaKeyGen.cs
- PreservationFileWriter.cs
- TranslateTransform.cs
- DbConnectionPoolCounters.cs
- ConvertEvent.cs
- PartialArray.cs
- _BasicClient.cs
- EntityClassGenerator.cs
- RuleSetDialog.cs
- CollectionViewGroupInternal.cs
- HtmlEncodedRawTextWriter.cs
- unitconverter.cs
- EditorServiceContext.cs
- PassportAuthentication.cs
- OdbcTransaction.cs
- ResourceType.cs
- OrCondition.cs
- EntityProviderServices.cs
- RTTrackingProfile.cs
- HtmlUtf8RawTextWriter.cs
- BinaryObjectWriter.cs
- HttpRequestCacheValidator.cs
- ScrollViewer.cs
- SpeechAudioFormatInfo.cs
- DuplexChannelFactory.cs
- FullTrustAssembly.cs
- RuntimeArgumentHandle.cs
- XmlUtf8RawTextWriter.cs
- ISFTagAndGuidCache.cs
- BamlTreeUpdater.cs
- AspProxy.cs
- GuidTagList.cs
- GridViewUpdatedEventArgs.cs
- TextureBrush.cs
- StreamGeometryContext.cs