コード例 #1
0
        public string GetFullMethodName(RemoteTask task)
        {
            var typeName = task.GetProperty<string>("TypeName");
            var shortName = task.GetProperty<string>("ShortName");

            return string.Format("{0}.{1}", typeName, shortName);
        }
コード例 #2
0
        public string GetFullMethodName(RemoteTask task)
        {
            var typeName  = task.GetProperty <string>("TypeName");
            var shortName = task.GetProperty <string>("ShortName");

            return(string.Format("{0}.{1}", typeName, shortName));
        }
コード例 #3
0
        public string GetFullMethodName(RemoteTask task)
        {
            var typeName = task.GetProperty <string>("TypeName");

            string methodName;

            try
            {
                methodName = task.GetProperty <string>("MethodName");
            }
            catch (Exception)
            {
                methodName = task.GetProperty <string>("ShortName");
            }

            return(string.Format("{0}.{1}", typeName, methodName));
        }
コード例 #4
0
        public string GetFullMethodName(RemoteTask task)
        {
            var typeName = task.GetProperty<string>("TypeName");

            string methodName;

            try
            {
                methodName = task.GetProperty<string>("MethodName");
            }
            catch (Exception)
            {
                methodName = task.GetProperty<string>("ShortName");
            }

            return string.Format("{0}.{1}", typeName, methodName);
        }
コード例 #5
0
 public string GetFullClassName(RemoteTask task)
 {
     return(task.GetProperty <string>("TypeName"));
 }
コード例 #6
0
 public string GetAssemblyLocation(RemoteTask task)
 {
     return(task.GetProperty <string>("AssemblyLocation"));
 }
コード例 #7
0
 public string GetFullClassName(RemoteTask task)
 {
     return task.GetProperty<string>("TypeName");
 }
コード例 #8
0
 public string GetAssemblyLocation(RemoteTask task)
 {
     return task.GetProperty<string>("AssemblyLocation");
 }
コード例 #9
0
 public string GetFullMethodName(RemoteTask task)
 {
     return string.Format("{0}.{1}", task.GetProperty<string>("TypeName"), task.GetProperty<string>("ShortName"));
 }
コード例 #10
0
 public string GetFullMethodName(RemoteTask task)
 {
     return(string.Format("{0}.{1}", task.GetProperty <string>("TypeName"), task.GetProperty <string>("ShortName")));
 }
コード例 #11
0
 public string GetXapPath(RemoteTask task)
 {
     return task.GetProperty<string>("AssemblyLocation").Replace(".dll", ".xap"); // TODO: Find a way to get this from the project settings.
 }