Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / PersistenceMetadataNamespace.cs / 1305376 / PersistenceMetadataNamespace.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Runtime { using System.Xml.Linq; [Fx.Tag.XamlVisible(false)] static class PersistenceMetadataNamespace { const string baseNamespace = "urn:schemas-microsoft-com:System.Runtime.DurableInstancing/4.0/metadata"; static readonly XNamespace persistenceMetadataNamespace = XNamespace.Get(baseNamespace); static XName instanceType; static XName activationType; public static XName InstanceType { get { if (instanceType == null) { instanceType = persistenceMetadataNamespace.GetName("InstanceType"); } return instanceType; } } public static XName ActivationType { get { if (activationType == null) { activationType = persistenceMetadataNamespace.GetName("ActivationType"); } return activationType; } } public static class ActivationTypes { const string baseNamespace = "urn:schemas-microsoft-com:System.ServiceModel.Activation"; static readonly XNamespace activationNamespace = XNamespace.Get(baseNamespace); static XName was; public static XName WAS { get { if (was == null) { was = activationNamespace.GetName("WindowsProcessActivationService"); } return was; } } } } } // 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 PersistenceMetadataNamespace { const string baseNamespace = "urn:schemas-microsoft-com:System.Runtime.DurableInstancing/4.0/metadata"; static readonly XNamespace persistenceMetadataNamespace = XNamespace.Get(baseNamespace); static XName instanceType; static XName activationType; public static XName InstanceType { get { if (instanceType == null) { instanceType = persistenceMetadataNamespace.GetName("InstanceType"); } return instanceType; } } public static XName ActivationType { get { if (activationType == null) { activationType = persistenceMetadataNamespace.GetName("ActivationType"); } return activationType; } } public static class ActivationTypes { const string baseNamespace = "urn:schemas-microsoft-com:System.ServiceModel.Activation"; static readonly XNamespace activationNamespace = XNamespace.Get(baseNamespace); static XName was; public static XName WAS { get { if (was == null) { was = activationNamespace.GetName("WindowsProcessActivationService"); } return was; } } } } } // 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
- SqlUnionizer.cs
- CheckPair.cs
- ToolStripStatusLabel.cs
- FormViewRow.cs
- RtfControls.cs
- DataTableCollection.cs
- namescope.cs
- MessageQueueInstaller.cs
- EmbeddedMailObject.cs
- EventEntry.cs
- PenThreadPool.cs
- TryExpression.cs
- BindStream.cs
- AnnotationComponentChooser.cs
- ApplyTemplatesAction.cs
- ApplicationHost.cs
- MarkedHighlightComponent.cs
- HttpCachePolicyElement.cs
- GuidConverter.cs
- ArrayElementGridEntry.cs
- GridProviderWrapper.cs
- ScriptIgnoreAttribute.cs
- StructuralObject.cs
- WindowsFormsSectionHandler.cs
- OrderingExpression.cs
- TypographyProperties.cs
- AnnotationResource.cs
- Regex.cs
- Attributes.cs
- ModelPropertyCollectionImpl.cs
- FileDataSourceCache.cs
- SessionEndingCancelEventArgs.cs
- ProcessRequestAsyncResult.cs
- DispatchWrapper.cs
- SqlNodeAnnotations.cs
- KeyGestureValueSerializer.cs
- SqlParameterCollection.cs
- ValueTypePropertyReference.cs
- CodeNamespaceCollection.cs
- DataList.cs
- FileClassifier.cs
- DocumentGridPage.cs
- DoubleKeyFrameCollection.cs
- TabRenderer.cs
- CatalogPart.cs
- ConvertTextFrag.cs
- Utils.cs
- MappingSource.cs
- DocumentOrderQuery.cs
- FileSystemInfo.cs
- SafeNativeMethodsOther.cs
- NGCSerializationManager.cs
- CommandManager.cs
- SessionEndingCancelEventArgs.cs
- QueueProcessor.cs
- MailFileEditor.cs
- EntityDataSourceSelectingEventArgs.cs
- EmptyCollection.cs
- PageRequestManager.cs
- SetUserPreferenceRequest.cs
- UserNameSecurityTokenProvider.cs
- ComponentConverter.cs
- HScrollProperties.cs
- ClientSettingsStore.cs
- CmsInterop.cs
- ProjectionPathBuilder.cs
- WorkflowServiceHostFactory.cs
- ISO2022Encoding.cs
- GroupByQueryOperator.cs
- AssociationEndMember.cs
- HashMembershipCondition.cs
- LoginView.cs
- LogicalExpr.cs
- MonthChangedEventArgs.cs
- DataGridPagingPage.cs
- XmlAttributeAttribute.cs
- SaveFileDialog.cs
- DownloadProgressEventArgs.cs
- DivideByZeroException.cs
- DataFormats.cs
- ReflectionTypeLoadException.cs
- MimeTextImporter.cs
- TrustLevelCollection.cs
- SingleConverter.cs
- PathFigureCollection.cs
- TemplateBamlTreeBuilder.cs
- CommandDevice.cs
- DataListItem.cs
- ObjectDataProvider.cs
- AbstractSvcMapFileLoader.cs
- ThreadStartException.cs
- XMLDiffLoader.cs
- MulticastNotSupportedException.cs
- GenericIdentity.cs
- ToolboxItemCollection.cs
- BidOverLoads.cs
- WeakReference.cs
- TextSimpleMarkerProperties.cs
- InputBindingCollection.cs
- XmlnsCompatibleWithAttribute.cs