I have recently started studying CodeSmith and I have a few questions. I would like to make a template with 4 blocks. Each block will be selected by the user.
- How can I set the text block (function) to selecting user?
- How can I move blocks in separate files?
For example there is a template
using System;
public class Hello3
{
public static void Main(string[] args)
{
Blocl 1
Blocl 2
Blocl 3
Blocl 4
}
}
Each of these blocks should be selected by the user. Each block is stored in a separate file. Each block is a function. The output of one block enters to the input of another block.
P.S. Sorry for my bad english.