CompilationSyntaxTreeBuilderClass - метод |
Установить параметры класса
Пространство имён:
Tessa.Compilation
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: SystemString
- accessModifier (Optional)
- Тип: Tessa.CompilationAccessModifier
- baseTypes (Optional)
- Тип: SystemString
- isAbstract (Optional)
- Тип: SystemBoolean
- isPartial (Optional)
- Тип: SystemBoolean
- isSealed (Optional)
- Тип: SystemBoolean
- guid (Optional)
- Тип: SystemNullableGuid
Возвращаемое значение
Тип:
ICompilationSyntaxTreeBuilderthis
Реализации
ICompilationSyntaxTreeBuilderClass(String, AccessModifier, String, Boolean, Boolean, Boolean, NullableGuid)См. также