예제 #1
0
 public static IContext NewContext(this IDictContext context, string type, string relPath)
 {
     return(TreeHelper.NewDescendant <Items, IContext>(context, type, relPath));
 }
예제 #2
0
 public static T NewContext <T>(this IDictContext context, string type, string relPath)
     where T : class, IContext
 {
     return(TreeHelper.NewDescendant <Items, T>(context, type, relPath));
 }