ICompilationSyntaxTreeBuilderAddConstructor - метод
Добавить конструктор к классу
Пространство имён: Tessa.CompilationСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
ICompilationSyntaxTreeBuilder AddConstructor(
string body,
Tuple<string, string>[]? parameters = null,
AccessModifier accessModifier = AccessModifier.Public,
bool static = false
)
Function AddConstructor (
body As String,
Optional parameters As Tuple(Of String, String)() = Nothing,
Optional accessModifier As AccessModifier = AccessModifier.Public,
Optional static As Boolean = false
) As ICompilationSyntaxTreeBuilder
ICompilationSyntaxTreeBuilder^ AddConstructor(
String^ body,
array<Tuple<String^, String^>^>^ parameters = nullptr,
AccessModifier accessModifier = AccessModifier::Public,
bool static = false
)
abstract AddConstructor :
body : string *
?parameters : Tuple<string, string>[] *
?accessModifier : AccessModifier *
?static : bool
(* Defaults:
let _parameters = defaultArg parameters null
let _accessModifier = defaultArg accessModifier AccessModifier.Public
let _static = defaultArg static false
*)
-> ICompilationSyntaxTreeBuilder
- body String
- parameters TupleString, String (Optional)
- accessModifier AccessModifier (Optional)
- static Boolean (Optional)
ICompilationSyntaxTreeBuilderthis