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
- Substitution.cs
- TemplatedMailWebEventProvider.cs
- DescendentsWalkerBase.cs
- InternalControlCollection.cs
- URLAttribute.cs
- XPathDocument.cs
- EntryIndex.cs
- IISMapPath.cs
- RowTypePropertyElement.cs
- ExpressionBuilder.cs
- DependencyPropertyAttribute.cs
- BaseUriHelper.cs
- SchemaTypeEmitter.cs
- ProjectionAnalyzer.cs
- BidOverLoads.cs
- ProvidePropertyAttribute.cs
- XmlTextReaderImpl.cs
- Odbc32.cs
- JavaScriptString.cs
- PathGeometry.cs
- SizeLimitedCache.cs
- StrokeRenderer.cs
- PasswordBox.cs
- TypeConverterHelper.cs
- TextParagraphView.cs
- SerializerProvider.cs
- TerminateSequence.cs
- MemberJoinTreeNode.cs
- HintTextMaxWidthConverter.cs
- PreProcessInputEventArgs.cs
- Vector3dCollection.cs
- TextLineResult.cs
- BuildProvider.cs
- CryptoConfig.cs
- StorageMappingItemCollection.cs
- VSWCFServiceContractGenerator.cs
- TextRunCacheImp.cs
- _Rfc2616CacheValidators.cs
- HttpWebResponse.cs
- PropertyChangeTracker.cs
- SelectionEditor.cs
- WebWorkflowRole.cs
- Stylesheet.cs
- XslCompiledTransform.cs
- FillBehavior.cs
- DashStyle.cs
- LinkButton.cs
- ExpandCollapsePattern.cs
- AttachInfo.cs
- SimpleLine.cs
- CultureMapper.cs
- Condition.cs
- TiffBitmapEncoder.cs
- OdbcEnvironment.cs
- KeyFrames.cs
- ValidationUtility.cs
- TextEncodedRawTextWriter.cs
- WebPartVerbCollection.cs
- EditorBrowsableAttribute.cs
- TransactionChannelFactory.cs
- X500Name.cs
- TransactionFlowBindingElementImporter.cs
- HtmlDocument.cs
- Slider.cs
- ColorComboBox.cs
- ValidationPropertyAttribute.cs
- UrlMappingsModule.cs
- WebPartRestoreVerb.cs
- SqlDataRecord.cs
- ReadonlyMessageFilter.cs
- ResizeGrip.cs
- ProxyWebPartConnectionCollection.cs
- IODescriptionAttribute.cs
- ColumnWidthChangingEvent.cs
- RoleManagerEventArgs.cs
- HandlerBase.cs
- LambdaValue.cs
- TextOutput.cs
- DataGridViewToolTip.cs
- SoapFault.cs
- XMLSchema.cs
- EntitySet.cs
- SystemTcpConnection.cs
- MimeTextImporter.cs
- ImmutableCollection.cs
- Section.cs
- ConfigXmlAttribute.cs
- CodeDomDesignerLoader.cs
- HexParser.cs
- LockRecoveryTask.cs
- X509AsymmetricSecurityKey.cs
- TextDecorationCollection.cs
- SecUtil.cs
- util.cs
- AttachedAnnotationChangedEventArgs.cs
- TextPenaltyModule.cs
- InternalMappingException.cs
- ToolStripGripRenderEventArgs.cs
- FileCodeGroup.cs
- AppearanceEditorPart.cs