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