コード例 #1
0
 public static IContext GetOrNewContext(this IDictContext context, string type, string relPath)
 {
     return(TreeHelper.GetOrNewDescendant <Items, IContext>(context, type, relPath));
 }
コード例 #2
0
 public static T GetOrNewContext <T>(this IDictContext context, string type, string relPath)
     where T : class, IContext
 {
     return(TreeHelper.GetOrNewDescendant <Items, T>(context, type, relPath));
 }