/// <summary> /// インスタンスメソッドを呼び出す /// </summary> /// <param name="methodName"></param> /// <param name="args"></param> /// <returns></returns> public string Invoke(string methodName, params string[] args) { _connector.Send(string.Format( "invoke {0} {1} {2}", _instanceName, methodName, string.Join(" ", args))); return(MayaModel.ReadResult(_connector)); }
/// <summary> /// インスタンスメソッドを呼び出す /// </summary> /// <param name="methodName"></param> /// <returns></returns> public string Invoke(string methodName) { _connector.Send(string.Format( "invoke {0} {1}", _instanceName, methodName)); return(MayaModel.ReadResult(_connector)); }