Пример #1
0
 public void Method(string declaration, Func <IEnumerable <string> > populate)
 {
     ParentBlock.Add(new MethodBlock(declaration, populate, Annotations));
 }
Пример #2
0
 public void Method(MethodBlock methodBlock)
 {
     ParentBlock.Add(methodBlock);
 }
Пример #3
0
 public void Method(string declaration, Action <MethodBlock> populate)
 {
     ParentBlock.Add(new MethodBlock(declaration, populate, Annotations));
 }