...
For example, if your C# language template contains a property named ClassName, you might include this code to set the default output file name:
Code Block | ||
---|---|---|
| ||
<script runat="template"> |
...
public override string GetFileName() { |
...
return ClassName + ".cs"; |
...
} |
...
</script> |