public override ProjectItem CreateNewItem(ProjectItem parent) { var doc = new ProjectItemCodeDocument(this.FileName, parent.Project.Language, parent); doc.Document.Text = string.Format( @" #NoEnv ; Empty Template "); parent.Add(doc); return doc; }
public override ProjectItem CreateNewItem(ProjectItem parent) { var doc = new ProjectItemCodeDocument(parent.Project.Language, parent); doc.Name = this.FileName; doc.Document.Text = string.Format( @" class {0} {{ }}", Path.GetFileNameWithoutExtension(this.FileName)); parent.Add(doc); return doc; }