示例#1
0
        public TVar GetRoleUserVariable <TVar>(string ProductName, string ModuleName,
                                               string VarName, TVar DefaultValue)
        {
            string TmpUser = _CurrentRole.Length == 0 ? string.Empty : _CurrentUser;

            return(RoleUserVariable.GetVariable <TVar>(ProductName, _CurrentRole,
                                                       TmpUser, ModuleName, VarName, DefaultValue));
        }
 public TVar GetRoleUserVariable <TVar>(string ProductName, string RoleName,
                                        string UserName, string ModuleName, string VarName, TVar DefaultValue)
 {
     return(RoleUserVariable.GetVariable <TVar>(ProductName, RoleName, UserName, ModuleName, VarName, DefaultValue));
 }