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
- PackageFilter.cs
- Brushes.cs
- KnowledgeBase.cs
- EmbeddedMailObject.cs
- ZipIOCentralDirectoryFileHeader.cs
- WCFBuildProvider.cs
- DataServiceStreamProviderWrapper.cs
- FixedElement.cs
- SqlProcedureAttribute.cs
- SystemBrushes.cs
- HtmlInputRadioButton.cs
- PointCollectionConverter.cs
- TableLayoutStyleCollection.cs
- ListenerSessionConnectionReader.cs
- Panel.cs
- XmlSchemaComplexType.cs
- Variable.cs
- DocumentXmlWriter.cs
- NetStream.cs
- JsonReader.cs
- DocumentXPathNavigator.cs
- UidManager.cs
- ProfilePropertyNameValidator.cs
- OdbcParameterCollection.cs
- DocumentViewerAutomationPeer.cs
- MessageFilter.cs
- DataGridViewTopLeftHeaderCell.cs
- WorkflowInspectionServices.cs
- GlyphCache.cs
- WindowsEditBox.cs
- safelinkcollection.cs
- FactoryMaker.cs
- KnowledgeBase.cs
- ListViewItemCollectionEditor.cs
- NullReferenceException.cs
- Int64AnimationUsingKeyFrames.cs
- FilterInvalidBodyAccessException.cs
- HashRepartitionEnumerator.cs
- FrugalList.cs
- _HTTPDateParse.cs
- RemotingClientProxy.cs
- SimpleType.cs
- StringPropertyBuilder.cs
- SqlDataSourceSelectingEventArgs.cs
- ListParagraph.cs
- OleDbCommand.cs
- CustomValidator.cs
- IgnoreFlushAndCloseStream.cs
- MediaContextNotificationWindow.cs
- FixedStringLookup.cs
- CompositeDesignerAccessibleObject.cs
- HtmlWindow.cs
- SubstitutionResponseElement.cs
- ActivationServices.cs
- StringConverter.cs
- ConfigXmlElement.cs
- SqlCommandBuilder.cs
- Frame.cs
- Image.cs
- MailDefinition.cs
- TransmissionStrategy.cs
- InitializationEventAttribute.cs
- SettingsSavedEventArgs.cs
- NameObjectCollectionBase.cs
- ElementInit.cs
- XamlToRtfParser.cs
- BaseInfoTable.cs
- AnnotationStore.cs
- Relationship.cs
- LineBreakRecord.cs
- Control.cs
- UpDownEvent.cs
- WebServiceFaultDesigner.cs
- FixedSchema.cs
- TypeNameHelper.cs
- WebBrowserUriTypeConverter.cs
- SignatureToken.cs
- DrawingDrawingContext.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataServiceQueryOfT.cs
- CalendarDateRange.cs
- SystemGatewayIPAddressInformation.cs
- InputBuffer.cs
- InternalControlCollection.cs
- HtmlSelect.cs
- WindowsSpinner.cs
- BufferedWebEventProvider.cs
- storagemappingitemcollection.viewdictionary.cs
- ObjectDataSourceStatusEventArgs.cs
- IOThreadTimer.cs
- NameSpaceExtractor.cs
- Mapping.cs
- AudioSignalProblemOccurredEventArgs.cs
- DictionaryBase.cs
- SqlCommand.cs
- HierarchicalDataBoundControlAdapter.cs
- TypeUnloadedException.cs
- JsonObjectDataContract.cs
- Baml2006KnownTypes.cs
- __Error.cs