// For more information about the features contained in this class, please visit our GoogleCode Wiki at... // http://code.google.com/p/codesmith/wiki/PLINQO // Also, you can watch our Video Tutorials at... // http://community.codesmithtools.com/ public Audit(CodeSmith.Data.Audit.AuditLog log) { this.Date = log.Date; this.Content = log.ToXml(); this.Username = log.Username; this.CreatedDate = System.DateTime.Now; }
public void RenderTemplateToFile(CodeSmith.Engine.CodeTemplate template, string destination) { this.CopyPropertiesTo(template); template.RenderToFile(destination, true); }