Ejemplo n.º 1
0
 public static T GetChildViewController <T>(this IControllerHost host) where T : Fragment, new()
 {
     return(host.GetChildViewController <T>(typeof(T).FullName));
 }
Ejemplo n.º 2
0
 public static T GetChildViewController <T>(this IControllerHost host, string key) where T : Fragment, new()
 {
     return(host.GetChildViewController(key, () => new T()));
 }
Ejemplo 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));
 }