Esempio n. 1
0
        ///<summary>Converts a string to the current language.</summary>
        public static string g(System.Object sender, string text)
        {
            //No need to check RemotingRole; no call to db.
            string retVal = Lans.ConvertString(sender.GetType().Name, text);

            //if(ItemInserted) {
            //	RefreshCache();
            //}
            return(retVal);
        }
Esempio n. 2
0
        ///<summary>Converts a string to the current language.</summary>
        public static string g(string classType, string text)
        {
            //No need to check RemotingRole; no call to db.
            string retVal = Lans.ConvertString(classType, text);

            //if(ItemInserted) {
            //	RefreshCache();
            //}
            return(retVal);
        }