CompilationSyntaxTreeBuilderClass - метод
Установить параметры класса
Пространство имён: Tessa.CompilationСборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
public ICompilationSyntaxTreeBuilder Class(
string className,
AccessModifier accessModifier = AccessModifier.Public,
string[] baseTypes = null,
bool isAbstract = false,
bool isPartial = false,
bool isSealed = false,
Guid? guid = null
)
Public Function Class (
className As String,
Optional accessModifier As AccessModifier = AccessModifier.Public,
Optional baseTypes As String() = Nothing,
Optional isAbstract As Boolean = false,
Optional isPartial As Boolean = false,
Optional isSealed As Boolean = false,
Optional guid As Guid? = Nothing
) As ICompilationSyntaxTreeBuilder
public:
virtual ICompilationSyntaxTreeBuilder^ Class(
String^ className,
AccessModifier accessModifier = AccessModifier::Public,
array<String^>^ baseTypes = nullptr,
bool isAbstract = false,
bool isPartial = false,
bool isSealed = false,
Nullable<Guid> guid = nullptr
) sealed
abstract Class :
className : string *
?accessModifier : AccessModifier *
?baseTypes : string[] *
?isAbstract : bool *
?isPartial : bool *
?isSealed : bool *
?guid : Nullable<Guid>
(* Defaults:
let _accessModifier = defaultArg accessModifier AccessModifier.Public
let _baseTypes = defaultArg baseTypes null
let _isAbstract = defaultArg isAbstract false
let _isPartial = defaultArg isPartial false
let _isSealed = defaultArg isSealed false
let _guid = defaultArg guid null
*)
-> ICompilationSyntaxTreeBuilder
override Class :
className : string *
?accessModifier : AccessModifier *
?baseTypes : string[] *
?isAbstract : bool *
?isPartial : bool *
?isSealed : bool *
?guid : Nullable<Guid>
(* Defaults:
let _accessModifier = defaultArg accessModifier AccessModifier.Public
let _baseTypes = defaultArg baseTypes null
let _isAbstract = defaultArg isAbstract false
let _isPartial = defaultArg isPartial false
let _isSealed = defaultArg isSealed false
let _guid = defaultArg guid null
*)
-> ICompilationSyntaxTreeBuilder
- className String
-
- accessModifier AccessModifier (Optional)
- baseTypes String (Optional)
- isAbstract Boolean (Optional)
- isPartial Boolean (Optional)
- isSealed Boolean (Optional)
- guid NullableGuid (Optional)
-
ICompilationSyntaxTreeBuilderthis
ICompilationSyntaxTreeBuilderClass(String, AccessModifier, String, Boolean, Boolean, Boolean, NullableGuid)