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
- TabletCollection.cs
- XamlTypeMapper.cs
- SimpleTableProvider.cs
- FixedSOMPageConstructor.cs
- WorkflowViewManager.cs
- NamespaceImport.cs
- SamlSubject.cs
- Vector.cs
- ReflectionHelper.cs
- ListBoxDesigner.cs
- ValueChangedEventManager.cs
- FieldBuilder.cs
- ToolBarOverflowPanel.cs
- GuidConverter.cs
- WeakHashtable.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataGrid.cs
- DeferredSelectedIndexReference.cs
- XmlTypeAttribute.cs
- X509Chain.cs
- CuspData.cs
- XmlDocumentSerializer.cs
- HijriCalendar.cs
- SystemUnicastIPAddressInformation.cs
- Trace.cs
- NotifyIcon.cs
- PointF.cs
- WebPartManagerInternals.cs
- ScaleTransform3D.cs
- SchemaSetCompiler.cs
- PrivacyNoticeBindingElement.cs
- newitemfactory.cs
- TreeNode.cs
- TextServicesProperty.cs
- HebrewNumber.cs
- SQLSingleStorage.cs
- HttpCapabilitiesSectionHandler.cs
- SimpleTextLine.cs
- ZoneLinkButton.cs
- SiteMapNode.cs
- SortDescriptionCollection.cs
- PropertyGroupDescription.cs
- UpdateException.cs
- FragmentNavigationEventArgs.cs
- _HeaderInfoTable.cs
- MessageUtil.cs
- MessageBox.cs
- DirectionalLight.cs
- COM2EnumConverter.cs
- VectorAnimation.cs
- EngineSiteSapi.cs
- XmlChildEnumerator.cs
- WorkflowMarkupSerializerMapping.cs
- CursorConverter.cs
- Calendar.cs
- SqlStatistics.cs
- CookielessData.cs
- XmlSchemaElement.cs
- AncestorChangedEventArgs.cs
- ContainerUIElement3D.cs
- RegisteredArrayDeclaration.cs
- FlowLayoutSettings.cs
- filewebrequest.cs
- NumericUpDownAcceleration.cs
- DBCommand.cs
- PassportAuthenticationEventArgs.cs
- ImmutablePropertyDescriptorGridEntry.cs
- RepeaterItem.cs
- DataGridColumnEventArgs.cs
- HandleCollector.cs
- GridViewUpdatedEventArgs.cs
- ButtonBaseAdapter.cs
- MatrixStack.cs
- TagPrefixAttribute.cs
- CompilerErrorCollection.cs
- XmlDocumentType.cs
- X509SecurityTokenProvider.cs
- ViewStateModeByIdAttribute.cs
- WebPartDisplayModeEventArgs.cs
- SuppressMessageAttribute.cs
- HttpResponseWrapper.cs
- MetadataSerializer.cs
- KeyFrames.cs
- StructuralObject.cs
- WsdlBuildProvider.cs
- DateTimeConverter.cs
- Avt.cs
- CommandEventArgs.cs
- ColumnMapCopier.cs
- TextRangeSerialization.cs
- XmlTextWriter.cs
- BooleanSwitch.cs
- SqlDataSourceView.cs
- RowCache.cs
- EnumerableCollectionView.cs
- Message.cs
- AssemblyBuilder.cs
- Geometry3D.cs
- ProcessHostFactoryHelper.cs
- TdsParserSafeHandles.cs