예제 #1
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .Add(() => ClassProvider.Alert())
            .If(() => ClassProvider.AlertColor(Color), () => Color != Color.None)
            .If(() => ClassProvider.AlertDismisable(), () => IsDismisable)
            .If(() => ClassProvider.Fade(), () => IsDismisable)
            .If(() => ClassProvider.Show(), () => IsDismisable && IsShow);

            base.RegisterClasses();
        }