public GenInfo(string name, ITemplateInfo template)
        {
            Name     = name;
            Template = template;

            GenerationPath = Template.GetOutputToParent()
                ? new DirectoryInfo(GenContext.Current.GenerationOutputPath).Parent.FullName
                : GenContext.Current.GenerationOutputPath;

            DestinationPath = Template.GetOutputToParent()
                ? new DirectoryInfo(GenContext.Current.DestinationPath).Parent.FullName
                : GenContext.Current.DestinationPath;
        }