protected override void RegisterClasses() { ClassMapper .Add(() => ClassProvider.NavItem()) .Add(() => ClassProvider.NavLink()) .If(() => ClassProvider.Active(), () => IsActive); base.RegisterClasses(); }