protected virtual MvxFragmentPresentationAttribute DeqeueFragmentAttributeIfExist(string fragmentName) { var attribute = PresentationAttributesCache.LastOrDefault(x => FragmentJavaName(x.ViewType) == fragmentName); if (attribute != null) { PresentationAttributesCache.Remove(attribute); } return(attribute); }
protected virtual MvxFragmentPresentationAttribute DeqeueFragmentAttributeIfExist(Type viewType) { var attribute = PresentationAttributesCache.LastOrDefault(x => x.ViewType == viewType); if (attribute != null) { PresentationAttributesCache.Remove(attribute); } return(attribute); }