Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / WorkflowServiceNamespace.cs / 1305376 / WorkflowServiceNamespace.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime { using System.Xml.Linq; [Fx.Tag.XamlVisible(false)] static class WorkflowServiceNamespace { const string baseNamespace = "urn:schemas-microsoft-com:System.ServiceModel.Activities/4.0/properties"; static readonly XNamespace workflowServiceNamespace = XNamespace.Get(baseNamespace); static readonly XNamespace endpointsNamespace = XNamespace.Get(baseNamespace + "/endpoints"); static XName controlEndpoint; static XName suspendException; static XName suspendReason; static XName siteName; static XName relativeApplicationPath; static XName relativeServicePath; static XName creationContext; static XName service; public static XNamespace EndpointsPath { get { return endpointsNamespace; } } public static XName ControlEndpoint { get { if (controlEndpoint == null) { controlEndpoint = workflowServiceNamespace.GetName("ControlEndpoint"); } return controlEndpoint; } } public static XName SuspendReason { get { if (suspendReason == null) { suspendReason = workflowServiceNamespace.GetName("SuspendReason"); } return suspendReason; } } public static XName SiteName { get { if (siteName == null) { siteName = workflowServiceNamespace.GetName("SiteName"); } return siteName; } } public static XName SuspendException { get { if (suspendException == null) { suspendException = workflowServiceNamespace.GetName("SuspendException"); } return suspendException; } } public static XName RelativeApplicationPath { get { if (relativeApplicationPath == null) { relativeApplicationPath = workflowServiceNamespace.GetName("RelativeApplicationPath"); } return relativeApplicationPath; } } public static XName RelativeServicePath { get { if (relativeServicePath == null) { relativeServicePath = workflowServiceNamespace.GetName("RelativeServicePath"); } return relativeServicePath; } } public static XName CreationContext { get { if (creationContext == null) { creationContext = workflowServiceNamespace.GetName("CreationContext"); } return creationContext; } } public static XName Service { get { if (service == null) { service = workflowServiceNamespace.GetName("Service"); } return service; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime { using System.Xml.Linq; [Fx.Tag.XamlVisible(false)] static class WorkflowServiceNamespace { const string baseNamespace = "urn:schemas-microsoft-com:System.ServiceModel.Activities/4.0/properties"; static readonly XNamespace workflowServiceNamespace = XNamespace.Get(baseNamespace); static readonly XNamespace endpointsNamespace = XNamespace.Get(baseNamespace + "/endpoints"); static XName controlEndpoint; static XName suspendException; static XName suspendReason; static XName siteName; static XName relativeApplicationPath; static XName relativeServicePath; static XName creationContext; static XName service; public static XNamespace EndpointsPath { get { return endpointsNamespace; } } public static XName ControlEndpoint { get { if (controlEndpoint == null) { controlEndpoint = workflowServiceNamespace.GetName("ControlEndpoint"); } return controlEndpoint; } } public static XName SuspendReason { get { if (suspendReason == null) { suspendReason = workflowServiceNamespace.GetName("SuspendReason"); } return suspendReason; } } public static XName SiteName { get { if (siteName == null) { siteName = workflowServiceNamespace.GetName("SiteName"); } return siteName; } } public static XName SuspendException { get { if (suspendException == null) { suspendException = workflowServiceNamespace.GetName("SuspendException"); } return suspendException; } } public static XName RelativeApplicationPath { get { if (relativeApplicationPath == null) { relativeApplicationPath = workflowServiceNamespace.GetName("RelativeApplicationPath"); } return relativeApplicationPath; } } public static XName RelativeServicePath { get { if (relativeServicePath == null) { relativeServicePath = workflowServiceNamespace.GetName("RelativeServicePath"); } return relativeServicePath; } } public static XName CreationContext { get { if (creationContext == null) { creationContext = workflowServiceNamespace.GetName("CreationContext"); } return creationContext; } } public static XName Service { get { if (service == null) { service = workflowServiceNamespace.GetName("Service"); } return service; } } } } // 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
- SQLBinary.cs
- DataSourceCacheDurationConverter.cs
- StyleSheet.cs
- ProcessInfo.cs
- Trace.cs
- EntityViewGenerator.cs
- DataGridItem.cs
- ReachIDocumentPaginatorSerializer.cs
- ObjectConverter.cs
- HandledMouseEvent.cs
- CheckableControlBaseAdapter.cs
- ProtectedProviderSettings.cs
- ConnectionConsumerAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- UserMapPath.cs
- Dictionary.cs
- Soap.cs
- XpsS0ValidatingLoader.cs
- XmlSchemaExporter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- mediaclock.cs
- DataBinding.cs
- StaticResourceExtension.cs
- DbFunctionCommandTree.cs
- MetadataCache.cs
- DataGridViewTextBoxEditingControl.cs
- TextRunTypographyProperties.cs
- HtmlAnchor.cs
- WebZoneDesigner.cs
- DesignerForm.cs
- RedistVersionInfo.cs
- CompilerWrapper.cs
- TableCell.cs
- DetailsViewDeletedEventArgs.cs
- ZoneIdentityPermission.cs
- AppDomainEvidenceFactory.cs
- FontCacheUtil.cs
- QueuePathEditor.cs
- DateTimeConstantAttribute.cs
- TraceSection.cs
- LocationSectionRecord.cs
- PageEventArgs.cs
- Timer.cs
- WebException.cs
- PersistenceException.cs
- JsonClassDataContract.cs
- TypeHelper.cs
- RemoteWebConfigurationHostStream.cs
- Rfc2898DeriveBytes.cs
- ScriptServiceAttribute.cs
- MultiBindingExpression.cs
- QueryRewriter.cs
- Effect.cs
- Light.cs
- PointCollection.cs
- CompressionTransform.cs
- TreeViewAutomationPeer.cs
- RadialGradientBrush.cs
- ReferenceConverter.cs
- Executor.cs
- WebPartConnectionsDisconnectVerb.cs
- exports.cs
- CounterSet.cs
- TemplateControl.cs
- SystemIPGlobalProperties.cs
- PointAnimationClockResource.cs
- EmptyEnumerable.cs
- DesignerActionTextItem.cs
- TogglePatternIdentifiers.cs
- TextTreePropertyUndoUnit.cs
- ProxyWebPartConnectionCollection.cs
- ListMarkerLine.cs
- DataBoundControlAdapter.cs
- FilteredXmlReader.cs
- SoapConverter.cs
- TimeEnumHelper.cs
- XsltQilFactory.cs
- CommonDialog.cs
- PropertyTabAttribute.cs
- ParameterCollection.cs
- bidPrivateBase.cs
- ClientScriptManager.cs
- CustomErrorsSectionWrapper.cs
- HandlerBase.cs
- WebPartConnectVerb.cs
- StringValueConverter.cs
- SocketAddress.cs
- ProfileService.cs
- PropertyIDSet.cs
- PrimitiveType.cs
- ExtensionFile.cs
- ProxyFragment.cs
- DockProviderWrapper.cs
- VirtualDirectoryMappingCollection.cs
- NodeInfo.cs
- SQLMembershipProvider.cs
- Configuration.cs
- Light.cs
- LinkedResource.cs
- ProtectedProviderSettings.cs