Beispiel #1
0
 /// <summary>
 /// 保存当前项
 /// </summary>
 /// <param name="context"></param>
 private static void SaveContextToStore(HXContext context)
 {
     if (context.Context != null)
     {
         context.Context.Items[GlobalKey.CONTEXT_KEY] = context;
     }
 }
Beispiel #2
0
 /// <summary>
 /// 保存当前项
 /// </summary>
 /// <param name="context"></param>
 private static void SaveContextToStore(HXContext context)
 {
     if (context.Context != null)
     {
         context.Context.Items[GlobalKey.CONTEXT_KEY] = context;
     }
 }