CodeGenerationUtilities.GetBaseDomainClassMonikerTagName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the MonikerTagName for a the base class of the supplied domain class when it is serialized as a moniker. Note that the tag name cannot be the same for moniker, because that will require two definitions of the same element in the generated schema. The default name used (if not specified using "XmlClassData.MonikerElementName"), will be the non-moniker XmlTagName followed by "Moniker".
public:
static System::String ^ GetBaseDomainClassMonikerTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, System::String ^ currentNamespace, System::Collections::Generic::Dictionary<Microsoft::VisualStudio::Modeling::DslDefinition::DslLibrary ^, System::String ^> ^ xmlNamespaceQualifiers);
public static string GetBaseDomainClassMonikerTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, string currentNamespace, System.Collections.Generic.Dictionary<Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary,string> xmlNamespaceQualifiers);
static member GetBaseDomainClassMonikerTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * string * System.Collections.Generic.Dictionary<Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary, string> -> string
Public Shared Function GetBaseDomainClassMonikerTagName (domainClass As DomainClass, currentNamespace As String, xmlNamespaceQualifiers As Dictionary(Of DslLibrary, String)) As String
Parameters
- domainClass
- DomainClass
DomainClass whose MonikerTagName will be returned.
- currentNamespace
- String
- xmlNamespaceQualifiers
- Dictionary<DslLibrary,String>
Returns
The moniker tag name of the given DomainClass.