Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Configuration / WorkflowRuntimeServiceElement.cs / 1305376 / WorkflowRuntimeServiceElement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration; using System.Collections.Specialized; namespace System.Workflow.Runtime.Configuration { ///Configuration element for a WorkflowRuntime service public class WorkflowRuntimeServiceElement : ConfigurationElement { ///Collection of service-specific name-value pairs private NameValueCollection _parameters = new NameValueCollection(); private const string _type = "type"; public NameValueCollection Parameters { get { return _parameters; } } public WorkflowRuntimeServiceElement() { } ///The assembly-qualified type name of the service ///Type is also used as the collection key in WorkflowRuntimeServiceSettingsCollections [ConfigurationProperty(_type, DefaultValue = null)] public string Type { get { return (string)base[_type]; } set { if (value == null) throw new ArgumentNullException("value"); base[_type] = value; } } protected override bool OnDeserializeUnrecognizedAttribute(string name, string value) { _parameters.Add(name, value); return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Configuration; using System.Collections.Specialized; namespace System.Workflow.Runtime.Configuration { ///Configuration element for a WorkflowRuntime service public class WorkflowRuntimeServiceElement : ConfigurationElement { ///Collection of service-specific name-value pairs private NameValueCollection _parameters = new NameValueCollection(); private const string _type = "type"; public NameValueCollection Parameters { get { return _parameters; } } public WorkflowRuntimeServiceElement() { } ///The assembly-qualified type name of the service ///Type is also used as the collection key in WorkflowRuntimeServiceSettingsCollections [ConfigurationProperty(_type, DefaultValue = null)] public string Type { get { return (string)base[_type]; } set { if (value == null) throw new ArgumentNullException("value"); base[_type] = value; } } protected override bool OnDeserializeUnrecognizedAttribute(string name, string value) { _parameters.Add(name, value); return true; } } } // 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
- BridgeDataReader.cs
- PrtTicket_Public_Simple.cs
- NetWebProxyFinder.cs
- CacheSection.cs
- Debug.cs
- XmlSortKeyAccumulator.cs
- ConsumerConnectionPoint.cs
- ResourceReferenceExpressionConverter.cs
- XmlMtomWriter.cs
- GeometryConverter.cs
- CqlParserHelpers.cs
- WeakReference.cs
- DataGridAutoFormat.cs
- StorageRoot.cs
- TypeInfo.cs
- XPathMessageFilterElementCollection.cs
- Interlocked.cs
- EntitySqlQueryCacheKey.cs
- SynchronizationFilter.cs
- Rotation3D.cs
- PersonalizationAdministration.cs
- LateBoundBitmapDecoder.cs
- DescriptionAttribute.cs
- SqlUdtInfo.cs
- TextServicesProperty.cs
- ConcurrentStack.cs
- JsonSerializer.cs
- DataPagerFieldCollection.cs
- XmlSchemaObjectTable.cs
- ResourceProperty.cs
- WindowsFont.cs
- TypeDependencyAttribute.cs
- XmlAttributeCollection.cs
- DataIdProcessor.cs
- RoleManagerEventArgs.cs
- DataFormat.cs
- ReceiveMessageContent.cs
- TagMapInfo.cs
- ElementProxy.cs
- MediaTimeline.cs
- XmlBaseReader.cs
- DesignerVerb.cs
- StringAnimationBase.cs
- SettingsBase.cs
- HScrollBar.cs
- ViewManagerAttribute.cs
- SlotInfo.cs
- TrackingStringDictionary.cs
- CodeAccessSecurityEngine.cs
- WpfPayload.cs
- EntryPointNotFoundException.cs
- DatatypeImplementation.cs
- OdbcErrorCollection.cs
- TransformPatternIdentifiers.cs
- CustomErrorsSection.cs
- PropertyMapper.cs
- WrapPanel.cs
- OpenTypeLayoutCache.cs
- MenuAutomationPeer.cs
- PackageRelationship.cs
- VerticalConnector.xaml.cs
- TcpAppDomainProtocolHandler.cs
- ItemsChangedEventArgs.cs
- ClockController.cs
- DataGridColumnDropSeparator.cs
- InternalControlCollection.cs
- DoubleLinkList.cs
- ButtonStandardAdapter.cs
- DelegatingConfigHost.cs
- BevelBitmapEffect.cs
- XmlNamespaceManager.cs
- HtmlToClrEventProxy.cs
- DtdParser.cs
- WebPartHeaderCloseVerb.cs
- MessageBox.cs
- DashStyle.cs
- DesignerProperties.cs
- Models.cs
- BoundColumn.cs
- PeerNameRecordCollection.cs
- ExpressionHelper.cs
- CannotUnloadAppDomainException.cs
- BrowsableAttribute.cs
- UmAlQuraCalendar.cs
- KeyPressEvent.cs
- FileDialog.cs
- FollowerQueueCreator.cs
- ComboBox.cs
- ControlParameter.cs
- AxisAngleRotation3D.cs
- CacheChildrenQuery.cs
- ElementHostPropertyMap.cs
- BindingRestrictions.cs
- PreparingEnlistment.cs
- PagePropertiesChangingEventArgs.cs
- BoundPropertyEntry.cs
- WSSecureConversationDec2005.cs
- SystemNetHelpers.cs
- SplineKeyFrames.cs
- MetadataItemCollectionFactory.cs