using System; namespace RestEase { /// /// Attribute applied to the interface, giving a path which is prepended to all paths /// [AttributeUsage(AttributeTargets.Interface, Inherited = true, AllowMultiple = false)] public sealed class BasePathAttribute : Attribute { /// /// Gets the base path set in this attribute /// public string BasePath { get; } /// /// Initialises a new instance of the class with the given base path /// /// Base path to use public BasePathAttribute(string basePath) { this.BasePath = basePath; } } }