Exemplo n.º 1
0
 public CodegenProperty WithVirtual()
 {
     Modifiers = Modifiers
         .Enable(MemberModifier.VIRTUAL)
         .Disable(MemberModifier.OVERRIDE);
     return this;
 }
Exemplo n.º 2
0
 public CodegenProperty WithOverride()
 {
     Modifiers = Modifiers
         .Enable(MemberModifier.OVERRIDE)
         .Disable(MemberModifier.VIRTUAL);
     return this;
 }
Exemplo n.º 3
0
 public CodegenProperty WithStatic(bool value = true)
 {
     Modifiers = Modifiers.Enable(MemberModifier.STATIC);
     return this;
 }
Exemplo n.º 4
0
 public CodegenMethodWGraph WithStatic()
 {
     Modifiers = Modifiers.Enable(MemberModifier.STATIC);
     return this;
 }