CodeGenerationUtilities.HasNonAbstractBaseClass Method
Tells if the given DomainClass has a non-abstract base class. There is needed to determine if a "new" keyword needs to be generated.
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 HasNonAbstractBaseClass ( _
domainClass As DomainClass _
) As Boolean
public static bool HasNonAbstractBaseClass(
DomainClass domainClass
)
public:
static bool HasNonAbstractBaseClass(
DomainClass^ domainClass
)
static member HasNonAbstractBaseClass :
domainClass:DomainClass -> bool
public static function HasNonAbstractBaseClass(
domainClass : DomainClass
) : boolean
Parameters
- domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Return Value
Type: System.Boolean
.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.