CodeGenerationUtilities.GetGenerationInheritanceModifier Method
Gets the class modifier for a domain class. Returns "abstract" if the class is a double derived class because the generated class (base class) in a double-derived pair is always abstract
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function GetGenerationInheritanceModifier ( _
domainClass As DomainClass _
) As String
public static string GetGenerationInheritanceModifier(
DomainClass domainClass
)
public:
static String^ GetGenerationInheritanceModifier(
DomainClass^ domainClass
)
static member GetGenerationInheritanceModifier :
domainClass:DomainClass -> string
public static function GetGenerationInheritanceModifier(
domainClass : DomainClass
) : String
Parameters
- domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.