コード例 #1
0
        public string OnChoiceSelect()
        {
            string         value = "";
            OnChoiceSelect oo    = new OnChoiceSelect(this.s, this.header);
            Type           t     = oo.GetType();
            MethodInfo     mi    = t.GetMethod(this.reference(0));

            try
            {
                object o = mi.Invoke(oo, null);
                value = (string)o;
            }
            catch (NullReferenceException)
            {
            }
            return(value);
        }
コード例 #2
0
ファイル: Event.cs プロジェクト: nikolat/crawler_uploader
 public string OnChoiceSelect()
 {
     string value = "";
     OnChoiceSelect oo = new OnChoiceSelect(this.s, this.header);
     Type t = oo.GetType();
     MethodInfo mi = t.GetMethod(this.reference(0));
     try
     {
         object o = mi.Invoke(oo, null);
         value = (string)o;
     }
     catch (NullReferenceException)
     {
     }
     return value;
 }