Esempio n. 1
0
        public string DirectAccessGetString(string propertyName)
        {
            string res = "";

            if (objTelescope != null)
            {
                var prop = objTelescope.GetType().GetProperty(propertyName).GetValue(objTelescope, null);
                res = prop.ToString();
            }
            return(res);
        }