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
- Page.cs
- Int64Animation.cs
- ConcurrentBag.cs
- DatagridviewDisplayedBandsData.cs
- SpellerHighlightLayer.cs
- ProfileGroupSettingsCollection.cs
- xdrvalidator.cs
- XmlAnyAttributeAttribute.cs
- ProcessModelInfo.cs
- ExpressionDumper.cs
- PreservationFileWriter.cs
- SchemaElementDecl.cs
- NavigationProperty.cs
- ConfigurationConverterBase.cs
- PriorityRange.cs
- coordinatorscratchpad.cs
- XmlWriterSettings.cs
- SecurityHeaderLayout.cs
- oledbmetadatacolumnnames.cs
- ListBox.cs
- SystemColors.cs
- CacheOutputQuery.cs
- DrawingImage.cs
- SettingsPropertyNotFoundException.cs
- CodeLinePragma.cs
- RoleGroupCollection.cs
- Binding.cs
- XsltException.cs
- XmlCharacterData.cs
- ExpressionVisitor.cs
- ManagementScope.cs
- DynamicDiscoSearcher.cs
- _LocalDataStoreMgr.cs
- _ConnectStream.cs
- ScaleTransform.cs
- Attributes.cs
- XmlAutoDetectWriter.cs
- ScriptingProfileServiceSection.cs
- DeviceSpecificChoice.cs
- StaticExtension.cs
- DataSourceHelper.cs
- ActivityValidator.cs
- WebPartTransformerCollection.cs
- AccessedThroughPropertyAttribute.cs
- HashAlgorithm.cs
- BufferedReadStream.cs
- QueryOutputWriter.cs
- QuotedPrintableStream.cs
- Ray3DHitTestResult.cs
- FlowLayout.cs
- ServiceBehaviorElement.cs
- TextRangeSerialization.cs
- itemelement.cs
- ProxyBuilder.cs
- SqlTypesSchemaImporter.cs
- ParameterCollection.cs
- panel.cs
- ProviderConnectionPoint.cs
- ScriptingJsonSerializationSection.cs
- ProgressBar.cs
- NamespaceInfo.cs
- RadioButtonAutomationPeer.cs
- CustomPopupPlacement.cs
- MappingItemCollection.cs
- TdsRecordBufferSetter.cs
- ResourceExpression.cs
- HttpClientCertificate.cs
- UIElementParaClient.cs
- StylusButtonEventArgs.cs
- DispatcherExceptionEventArgs.cs
- PersistenceTypeAttribute.cs
- PopupRoot.cs
- MenuItem.cs
- DataServiceHost.cs
- FormViewDeletedEventArgs.cs
- HttpContext.cs
- XsltOutput.cs
- CharEnumerator.cs
- HandlerWithFactory.cs
- SafeRegistryHandle.cs
- UpdatePanelTrigger.cs
- XmlSchemaValidator.cs
- HwndSource.cs
- HtmlTernaryTree.cs
- SchemaAttDef.cs
- WebReferenceOptions.cs
- GridViewHeaderRowPresenter.cs
- RequestBringIntoViewEventArgs.cs
- HyperLinkStyle.cs
- CursorInteropHelper.cs
- BasicExpressionVisitor.cs
- TimeSpanSecondsConverter.cs
- BamlMapTable.cs
- DataGridRowDetailsEventArgs.cs
- ProjectedSlot.cs
- GatewayDefinition.cs
- BamlWriter.cs
- ImmComposition.cs
- MethodCallConverter.cs
- EventProviderBase.cs