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
- TogglePattern.cs
- DataGridViewRowPostPaintEventArgs.cs
- OutputCacheModule.cs
- SoapEnumAttribute.cs
- Knowncolors.cs
- TrustManagerMoreInformation.cs
- StringValidator.cs
- SplitterDesigner.cs
- ServiceEndpointElementCollection.cs
- FixedSOMTable.cs
- XamlDesignerSerializationManager.cs
- ControlTemplate.cs
- TranslateTransform.cs
- CqlLexerHelpers.cs
- TabItemWrapperAutomationPeer.cs
- ReflectionTypeLoadException.cs
- SHA384.cs
- ToolStripGrip.cs
- filewebresponse.cs
- xmlNames.cs
- PassportIdentity.cs
- NegationPusher.cs
- ClientBuildManager.cs
- FontInfo.cs
- CompilationRelaxations.cs
- XMLDiffLoader.cs
- DataViewListener.cs
- TitleStyle.cs
- _AcceptOverlappedAsyncResult.cs
- Point3DAnimationBase.cs
- DescendantQuery.cs
- WebPartConnectionsCancelEventArgs.cs
- MostlySingletonList.cs
- COM2IDispatchConverter.cs
- Composition.cs
- AnnotationComponentManager.cs
- WindowPattern.cs
- EventLogTraceListener.cs
- TableLayoutPanel.cs
- SmiXetterAccessMap.cs
- TableLayoutPanelCellPosition.cs
- ZipIOExtraFieldElement.cs
- DeobfuscatingStream.cs
- HtmlSelect.cs
- ActiveXHost.cs
- Library.cs
- TableLayoutSettings.cs
- XmlNullResolver.cs
- DataQuery.cs
- MasterPageParser.cs
- EncryptedXml.cs
- SqlNotificationEventArgs.cs
- OracleBoolean.cs
- PageAsyncTaskManager.cs
- Block.cs
- MethodCallConverter.cs
- DetailsViewRowCollection.cs
- DataGridPageChangedEventArgs.cs
- FileRecordSequenceHelper.cs
- UpdateException.cs
- XPathNode.cs
- InlineObject.cs
- PauseStoryboard.cs
- InvalidComObjectException.cs
- MarkedHighlightComponent.cs
- ListItemCollection.cs
- XmlnsPrefixAttribute.cs
- StackBuilderSink.cs
- TrackingMemoryStream.cs
- PopupRootAutomationPeer.cs
- MergePropertyDescriptor.cs
- PrintingPermissionAttribute.cs
- CellLabel.cs
- PermissionSetTriple.cs
- LogicalChannel.cs
- ShutDownListener.cs
- XmlEncodedRawTextWriter.cs
- BrowserCapabilitiesCodeGenerator.cs
- Comparer.cs
- SizeKeyFrameCollection.cs
- UICuesEvent.cs
- OdbcInfoMessageEvent.cs
- ContextStaticAttribute.cs
- ScriptResourceDefinition.cs
- ImageBrush.cs
- PathParser.cs
- Transform3D.cs
- WebBrowsableAttribute.cs
- DbConnectionHelper.cs
- ThrowHelper.cs
- XmlDocument.cs
- XmlBoundElement.cs
- TypeDescriptionProviderAttribute.cs
- Selector.cs
- LayoutInformation.cs
- WebBrowserUriTypeConverter.cs
- SynchronizedDispatch.cs
- AuthenticateEventArgs.cs
- GridViewUpdatedEventArgs.cs
- COSERVERINFO.cs