コード例 #1
0
 public override void Execute(ActionContext context)
 {
     EnsurePathExists(Path.Combine(context.PackageFolder, "src", "voxels"));
     CreateVoxelFile (context);
 }
コード例 #2
0
 void CreateVoxelFile(ActionContext context)
 {
     var filePath = Path.Combine (context.PackageFolder, "src", "voxels", context.Arguments [0]);
     File.WriteAllText (filePath, TextOfTemplate ("VoxelDefinitionTemplate.tt"));
 }
コード例 #3
0
 public abstract void Execute(ActionContext context);