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
- ContextMenu.cs
- EditorZoneBase.cs
- DataGridViewRowPostPaintEventArgs.cs
- DataSourceControlBuilder.cs
- UITypeEditor.cs
- TemplateControlCodeDomTreeGenerator.cs
- PenLineCapValidation.cs
- ModuleBuilderData.cs
- UiaCoreTypesApi.cs
- KnownBoxes.cs
- ObjectStateManager.cs
- StylusCaptureWithinProperty.cs
- CopyOfAction.cs
- XPathParser.cs
- DeploymentSection.cs
- securitycriticaldataClass.cs
- RelationshipNavigation.cs
- StylusDownEventArgs.cs
- SimpleApplicationHost.cs
- FieldMetadata.cs
- CoreSwitches.cs
- SortedDictionary.cs
- FamilyCollection.cs
- NavigationProperty.cs
- DisableDpiAwarenessAttribute.cs
- ObjectContextServiceProvider.cs
- SqlBulkCopy.cs
- LocalServiceSecuritySettings.cs
- XmlSchemaComplexType.cs
- RelationshipDetailsRow.cs
- SafeUserTokenHandle.cs
- TypeUsage.cs
- UserPreference.cs
- HtmlTableRowCollection.cs
- contentDescriptor.cs
- MailHeaderInfo.cs
- XmlReader.cs
- GridViewDeletedEventArgs.cs
- FormCollection.cs
- PlaceHolder.cs
- WmpBitmapDecoder.cs
- GroupStyle.cs
- CodeSnippetCompileUnit.cs
- RecordBuilder.cs
- XmlSerializerFactory.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- KnowledgeBase.cs
- LexicalChunk.cs
- TimeoutHelper.cs
- CheckedPointers.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- FamilyMap.cs
- SerializerDescriptor.cs
- FormViewRow.cs
- InstanceHandleConflictException.cs
- CachedFontFace.cs
- DrawingAttributeSerializer.cs
- FlowNode.cs
- CompilerError.cs
- ErrorProvider.cs
- DesignerActionPanel.cs
- ClipboardData.cs
- PageAsyncTaskManager.cs
- ArraySubsetEnumerator.cs
- ContextMenuStripGroupCollection.cs
- ArgumentException.cs
- QuaternionAnimation.cs
- IDReferencePropertyAttribute.cs
- TextPenaltyModule.cs
- CodeAssignStatement.cs
- DataGridHelper.cs
- PeerIPHelper.cs
- ServiceHttpHandlerFactory.cs
- SupportsEventValidationAttribute.cs
- ProvidersHelper.cs
- EntityRecordInfo.cs
- ResXResourceSet.cs
- MessageSecurityException.cs
- TreeViewImageIndexConverter.cs
- XamlTypeMapper.cs
- XmlFormatReaderGenerator.cs
- Internal.cs
- LingerOption.cs
- AssemblyNameEqualityComparer.cs
- Logging.cs
- HtmlControlAdapter.cs
- OleDbReferenceCollection.cs
- ToolbarAUtomationPeer.cs
- SettingsBindableAttribute.cs
- InheritanceContextHelper.cs
- SystemWebExtensionsSectionGroup.cs
- TextReader.cs
- InstanceCollisionException.cs
- PKCS1MaskGenerationMethod.cs
- CutCopyPasteHelper.cs
- XmlMemberMapping.cs
- DBSqlParser.cs
- TextEditorThreadLocalStore.cs
- RoutedUICommand.cs
- AccessViolationException.cs