Example #1
0
 [Test] public void get_Property()
 {
     tmProxy.get_Property_Static <TM_Status>("Current").assert_Not_Null();
     tmProxy.get_Property_Static <TM_Status>(typeof(TM_Status), "Current").assert_Not_Null();
     tmProxy.get_Property_Static <string>(typeof(TM_Status), "Version").assert_Not_Null();
     tmProxy.get_Property_Static <TM_Status, TM_Status>       ("Current").assert_Not_Null();
     tmProxy.get_Property_Static <TM_Status, string>          ("Version").assert_Not_Null();
 }
 public static T                         get_Current <T>(this TM_Proxy tmProxy)
 {
     return(tmProxy.get_Property_Static <T>(typeof(T), "Current"));
 }
 public static TResult                   get_Property_Static <TResult>(this TM_Proxy tmProxy, string propertyName)
 {
     return(tmProxy.get_Property_Static <TResult>(typeof(TResult), propertyName));
 }
Example #4
0
 public static Dictionary <string, string> tbot_Brain_AvailableScripts(this TM_Proxy tmProxy)
 {
     return(tmProxy.get_Property_Static <TBot_Brain, Dictionary <string, string> >("AvailableScripts"));
 }
Example #5
0
 public static string tbot_Brain_TBotScriptsFolder(this TM_Proxy tmProxy)
 {
     return(tmProxy.get_Property_Static <TBot_Brain, string>("TBotScriptsFolder"));
 }
Example #6
0
 public static string    get_Custom_Path_XmlDatabase(this TM_Proxy tmProxy)
 {
     return(tmProxy.get_Property_Static <TM_FileStorage, string>("Custom_Path_XmlDatabase"));
 }
Example #7
0
 public static string    get_Custom_WebRoot(this TM_Proxy tmProxy)
 {
     return(tmProxy.get_Property_Static <TM_FileStorage, string>("Custom_WebRoot"));
 }