protected virtual UIViewController ResolveSideMenu(MvxPanelEnum location)
        {
            var assembly = Assembly.GetEntryAssembly();

            var types = (from type in assembly.GetTypes()
                         from attribute in type.GetCustomAttributes <MvxSidebarPresentationAttribute>(true)
                         where attribute.Panel == location
                         select type).ToArray();

            if (types == null || types.Length == 0)
            {
                return(null);
            }

            if (types != null && types.Length > 1)
            {
                Mvx.Trace(MvxTraceLevel.Warning, $"Found more then one {location.ToString()} panel, using the first one in the array ({types[0].ToString()}).");
            }

            return(CreateInstance(types[0]) as UIViewController);
        }