Udostępnij za pośrednictwem


CodeGenerationUtilities.GetDomainClassMonikerTagName Method

Definition

Overloads

GetDomainClassMonikerTagName(DomainClass, String)

Get the MonikerTagName for a 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".

GetDomainClassMonikerTagName(DomainClass, String, Dictionary<DslLibrary,String>)

Get the MonikerTagName for a 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".

GetDomainClassMonikerTagName(DomainClass, String)

Get the MonikerTagName for a 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 ^ GetDomainClassMonikerTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, System::String ^ currentNamespace);
public static string GetDomainClassMonikerTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, string currentNamespace);
static member GetDomainClassMonikerTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * string -> string
Public Shared Function GetDomainClassMonikerTagName (domainClass As DomainClass, currentNamespace As String) As String

Parameters

domainClass
DomainClass

DomainClass whose MonikerTagName will be returned.

currentNamespace
String

Returns

The moniker tag name of the given DomainClass.

Remarks

Assumption is made here that the domainClass belongs to the targetNamespace

Applies to

GetDomainClassMonikerTagName(DomainClass, String, Dictionary<DslLibrary,String>)

Get the MonikerTagName for a 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 ^ GetDomainClassMonikerTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, System::String ^ currentNamespace, System::Collections::Generic::Dictionary<Microsoft::VisualStudio::Modeling::DslDefinition::DslLibrary ^, System::String ^> ^ xmlNamespaceQualifiers);
public static string GetDomainClassMonikerTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, string currentNamespace, System.Collections.Generic.Dictionary<Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary,string> xmlNamespaceQualifiers);
static member GetDomainClassMonikerTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * string * System.Collections.Generic.Dictionary<Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary, string> -> string
Public Shared Function GetDomainClassMonikerTagName (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.

Applies to