CodeGenerationUtilities.GetGenerationClassName Method
Returns the name of the class to be generated. In the case of a double-derived class, we add 'Base' to the name of the domain class. If not, the name of the domain class is used.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Shared Function GetGenerationClassName ( _
domainClass As DomainClass _
) As String
public static string GetGenerationClassName(
DomainClass domainClass
)
public:
static String^ GetGenerationClassName(
DomainClass^ domainClass
)
static member GetGenerationClassName :
domainClass:DomainClass -> string
public static function GetGenerationClassName(
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.