CompilationSyntaxTreeBuilderAddField - метод
Добавить поле к классу
Пространство имён: Tessa.CompilationСборка: Tessa.Server (в Tessa.Server.dll) Версия: 3.6.0.22
public ICompilationSyntaxTreeBuilder AddField(
string type,
string fieldName,
AccessModifier accessModifier = AccessModifier.Private
)
Public Function AddField (
type As String,
fieldName As String,
Optional accessModifier As AccessModifier = AccessModifier.Private
) As ICompilationSyntaxTreeBuilder
public:
virtual ICompilationSyntaxTreeBuilder^ AddField(
String^ type,
String^ fieldName,
AccessModifier accessModifier = AccessModifier::Private
) sealed
abstract AddField :
type : string *
fieldName : string *
?accessModifier : AccessModifier
(* Defaults:
let _accessModifier = defaultArg accessModifier AccessModifier.Private
*)
-> ICompilationSyntaxTreeBuilder
override AddField :
type : string *
fieldName : string *
?accessModifier : AccessModifier
(* Defaults:
let _accessModifier = defaultArg accessModifier AccessModifier.Private
*)
-> ICompilationSyntaxTreeBuilder
- type String
- fieldName String
-
- accessModifier AccessModifier (Optional)
ICompilationSyntaxTreeBuilderthis
ICompilationSyntaxTreeBuilderAddField(String, String, AccessModifier)