Ejemplo 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);
        }
Ejemplo 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);
        }