using System; namespace Shaker.Models { [AttributeUsage(AttributeTargets.Class)] public sealed class MainPageAttribute:Attribute { public MainPageAttribute(MainPageType pageType, bool cache= false) { PageType = pageType; Cache = cache; } public MainPageType PageType { get; } public bool Cache { get; } } }