using RainmeterStudio.Model; namespace RainmeterStudio.Documents { /// /// Represents a document template /// public abstract class DocumentTemplate { /// /// Gets the document template name /// public string Name { get; private set; } /// /// Gets the default extension of this template /// public string DefaultExtension { get; private set; } /// /// Initializes the document template /// /// Name of template /// Default extension public DocumentTemplate(string name, string defaultExtension) { Name = name; DefaultExtension = defaultExtension; } /// /// Creates a document using this template /// /// public abstract IDocument CreateDocument(); } }