CompilationSyntaxTreeBuilderAddConstructor - метод
Добавить конструктор к классу
Пространство имён: Tessa.CompilationСборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
public ICompilationSyntaxTreeBuilder AddConstructor(
string body,
Tuple<string, string>[] parameters = null,
AccessModifier accessModifier = AccessModifier.Public,
bool static = false
)
Public 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
public:
virtual ICompilationSyntaxTreeBuilder^ AddConstructor(
String^ body,
array<Tuple<String^, String^>^>^ parameters = nullptr,
AccessModifier accessModifier = AccessModifier::Public,
bool static = false
) sealed
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
override 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
ICompilationSyntaxTreeBuilderAddConstructor(String, TupleString, String, AccessModifier, Boolean)