using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.FSE.Common { /// /// Represents a attribute /// /// [AttributeUsage(AttributeTargets.Class)] public class FSEModuleAttribute : Attribute { /// /// Gets or sets the module index. /// public int Index { get; private set; } /// /// Gets or sets the home view. /// public String HomeViewName { get; set; } /// /// Initializes a new instance of the class. /// /// The module index. public FSEModuleAttribute(int index) { Index = index; } /// /// Initializes a new instance of the class. /// /// The module index. /// Name of the home view. public FSEModuleAttribute(int index, String homeViewName) : this(index) { HomeViewName = homeViewName; } /// /// Initializes a new instance of the class. /// /// The module index. /// Name of the home view. public FSEModuleAttribute(int index, String homeViewName, bool dockToBottom) : this(index, homeViewName) { HomeViewName = homeViewName; } } }