public void Method(string declaration, Func <IEnumerable <string> > populate) { ParentBlock.Add(new MethodBlock(declaration, populate, Annotations)); }
public void Method(MethodBlock methodBlock) { ParentBlock.Add(methodBlock); }
public void Method(string declaration, Action <MethodBlock> populate) { ParentBlock.Add(new MethodBlock(declaration, populate, Annotations)); }