CodeGenerationUtilities.GetDomainClassXmlTagName Method

Definition

Overloads

GetDomainClassXmlTagName(DomainClass, String)

Get the XmlTagName for a domain class.

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

Get the XmlTagName for a domain class.

GetDomainClassXmlTagName(DomainClass, String)

Get the XmlTagName for a domain class.

public:
 static System::String ^ GetDomainClassXmlTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, System::String ^ currentNamespace);
public static string GetDomainClassXmlTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, string currentNamespace);
static member GetDomainClassXmlTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * string -> string
Public Shared Function GetDomainClassXmlTagName (domainClass As DomainClass, currentNamespace As String) As String

Parameters

domainClass
DomainClass

DomainClass whose XmlTagName will be returned.

currentNamespace
String

Returns

The Xml tag name of the given DomainClass.

Remarks

Assumption is made here that domainClass belongs to the targetNamespace

Applies to

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

Get the XmlTagName for a domain class.

public:
 static System::String ^ GetDomainClassXmlTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass, System::String ^ currentNamespace, System::Collections::Generic::Dictionary<Microsoft::VisualStudio::Modeling::DslDefinition::DslLibrary ^, System::String ^> ^ xmlNamespaceQualifiers);
public static string GetDomainClassXmlTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass, string currentNamespace, System.Collections.Generic.Dictionary<Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary,string> xmlNamespaceQualifiers);
static member GetDomainClassXmlTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass * string * System.Collections.Generic.Dictionary<Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary, string> -> string
Public Shared Function GetDomainClassXmlTagName (domainClass As DomainClass, currentNamespace As String, xmlNamespaceQualifiers As Dictionary(Of DslLibrary, String)) As String

Parameters

domainClass
DomainClass

DomainClass whose XmlTagName will be returned.

currentNamespace
String
xmlNamespaceQualifiers
Dictionary<DslLibrary,String>

Returns

The Xml tag name of the given DomainClass.

Applies to