コード例 #1
0
 public FieldBuilder New(CodeIdentifier name, IType type)
 {
     return(new FieldBuilder(AddMember(new CodeField(name, type))));
 }
コード例 #2
0
 public PropertyBuilder New(CodeIdentifier name, IType type)
 {
     return(new PropertyBuilder(AddMember(new CodeProperty(name, type))));
 }
コード例 #3
0
ファイル: CodeXmlComment.cs プロジェクト: exileDev/linq2db
 // who needs tuples when we have records
 public record ParameterComment(CodeIdentifier Parameter, string Comment);
コード例 #4
0
ファイル: CodeMethod.cs プロジェクト: exileDev/linq2db
 public CodeMethod(CodeIdentifier name)
     : this(null, default, null, null, null, name, null, null)
 {
 }
コード例 #5
0
ファイル: CodeXmlComment.cs プロジェクト: exileDev/linq2db
 internal void AddParameter(CodeIdentifier parameter, string comment)
 {
     _parameters.Add(new (parameter, comment));
 }