CodeGenerationUtilities.GetBaseClass(DomainClass, String) 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.
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.