예제 #1
0
 public static Type GetTypeBindingContext(HttpContext httpContext, string name)
 {
     return(RenderingContext.CurrentData <Type>(httpContext, typeBindingKeyPrefix + name));
 }
예제 #2
0
 public static PermissionInfos GetPermissionBindingContext(HttpContext httpContext)
 {
     return(RenderingContext.CurrentData <PermissionInfos>(httpContext, permissionBindingKeyPrefix));
 }
예제 #3
0
 public static ModelExpression GetBindingContext(HttpContext httpContext, string name)
 {
     return(RenderingContext.CurrentData <ModelExpression>(httpContext, bindingKeyPrefix + name));
 }