using System; namespace ExampleLibrary { /// /// Marks the model as documentation example to be exported by the ExampleGenerator program. /// [AttributeUsage(AttributeTargets.Method)] public class DocumentationExampleAttribute : Attribute { /// /// /// /// The filename of the documentation file without extension. For sub folders, use '/' as path delimiter. public DocumentationExampleAttribute(string filename) { this.Filename = filename; } /// /// Gets the filename. /// /// The filename. /// /// For sub folders, use '/' as path delimiter. /// This is then replaced with the current platforms path separator later in the process. /// public string Filename { get; private set; } } }