using System.Collections.Generic; using System.Linq; using RainmeterStudio.Core.Model; namespace RainmeterStudio.Core.Model { /// /// Represents a document template /// public interface IDocumentTemplate { /// /// Gets the document template name /// string Name { get; } /// /// Gets the default extension of this template /// string DefaultExtension { get; } /// /// Gets or sets the properties of this template /// /// Properties are used to display a form dialog after the "New item" dialog closes. IEnumerable Properties { get; } /// /// Creates a document using this template /// /// Created document. IDocument CreateDocument(); } }