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
- ExpressionBuilder.cs
- regiisutil.cs
- ActivityStateQuery.cs
- SystemUnicastIPAddressInformation.cs
- tibetanshape.cs
- RelatedPropertyManager.cs
- CompositionTarget.cs
- StructuralComparisons.cs
- AddDataControlFieldDialog.cs
- PropertyFilter.cs
- JoinTreeSlot.cs
- CompatibleComparer.cs
- Exceptions.cs
- EntityPropertyMappingAttribute.cs
- codemethodreferenceexpression.cs
- DataError.cs
- ExternalException.cs
- GridViewSelectEventArgs.cs
- UnknownWrapper.cs
- WebPartDisplayModeEventArgs.cs
- DropShadowBitmapEffect.cs
- GridItemPatternIdentifiers.cs
- CmsInterop.cs
- IgnoreSectionHandler.cs
- Util.cs
- ColumnCollection.cs
- TreeViewItemAutomationPeer.cs
- TreeViewEvent.cs
- Control.cs
- LayoutEditorPart.cs
- ResourceReader.cs
- ScopeCollection.cs
- MdiWindowListStrip.cs
- RoleBoolean.cs
- messageonlyhwndwrapper.cs
- SoapCodeExporter.cs
- ProcessHostMapPath.cs
- LicFileLicenseProvider.cs
- odbcmetadatacolumnnames.cs
- OperationFormatStyle.cs
- OleDbError.cs
- SqlDependencyListener.cs
- TransactionFilter.cs
- XmlTextWriter.cs
- PeerResolverBindingElement.cs
- Utils.cs
- XmlResolver.cs
- Root.cs
- EdmToObjectNamespaceMap.cs
- TaskbarItemInfo.cs
- RawStylusInputReport.cs
- ListViewInsertedEventArgs.cs
- SystemInformation.cs
- CheckBox.cs
- StorageAssociationSetMapping.cs
- PeerCollaborationPermission.cs
- Vector3dCollection.cs
- NativeObjectSecurity.cs
- RowType.cs
- TemplateControlParser.cs
- RelationshipDetailsRow.cs
- EventListenerClientSide.cs
- CompositionDesigner.cs
- ConnectionsZoneDesigner.cs
- Script.cs
- BindingSourceDesigner.cs
- EventMetadata.cs
- ManipulationStartingEventArgs.cs
- SimpleLine.cs
- RoutedEvent.cs
- ActiveXHelper.cs
- MobileControlsSection.cs
- InstanceLockLostException.cs
- MouseCaptureWithinProperty.cs
- IdentityValidationException.cs
- SoapParser.cs
- StorageMappingFragment.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- DefaultSection.cs
- SecurityBindingElement.cs
- WebReferencesBuildProvider.cs
- ProvidersHelper.cs
- MarkupProperty.cs
- SystemFonts.cs
- ZipFileInfoCollection.cs
- CharacterBufferReference.cs
- DataErrorValidationRule.cs
- AnnotationAuthorChangedEventArgs.cs
- WebPartTransformerCollection.cs
- PropertyPathWorker.cs
- InlineUIContainer.cs
- HideDisabledControlAdapter.cs
- ClonableStack.cs
- ToolStripGrip.cs
- EastAsianLunisolarCalendar.cs
- DesignSurfaceEvent.cs
- DictionarySectionHandler.cs
- ObjectPropertyMapping.cs
- SqlDesignerDataSourceView.cs
- DataGridTablesFactory.cs