Esempio n. 1
0
 public static T GetChildViewController <T>(this IControllerHost host) where T : Fragment, new()
 {
     return(host.GetChildViewController <T>(typeof(T).FullName));
 }
Esempio n. 2
0
 public static T GetChildViewController <T>(this IControllerHost host, string key) where T : Fragment, new()
 {
     return(host.GetChildViewController(key, () => new T()));
 }
Esempio n. 3
0
 public static T GetChildViewController <T>(this IControllerHost host, string key, Func <T> factory) where T : Fragment
 {
     return(host.ChildControllers.GetChildViewController(key, factory));
 }