Partager via


CodeGenerationUtilities.GetBaseClass(DomainClass, String) Method

Definition

Gets the string for declaring the base class of a domain class. If the base class is not defined, ModelElement is used.

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

Parameters

domainClass
DomainClass
defaultBaseClass
String

The default base class to use if one is not specified.

Returns

Applies to