Ejemplo n.º 1
0
 public SkylineToolClient(string connectionName, string toolName)
 {
     _client   = new Client(connectionName);
     _toolName = toolName;
     _documentChangeReceiver = new DocumentChangeReceiver(Guid.NewGuid().ToString(), this);
     _documentChangeReceiver.RunAsync();
     _client.AddDocumentChangeReceiver(_documentChangeReceiver.ConnectionName, toolName);
 }
Ejemplo n.º 2
0
 public SkylineToolClient(string connectionName, string toolName)
 {
     _client = new Client(connectionName);
     _toolName = toolName;
     _documentChangeReceiver = new DocumentChangeReceiver(Guid.NewGuid().ToString(), this);
     _documentChangeReceiver.RunAsync();
     _client.AddDocumentChangeReceiver(_documentChangeReceiver.ConnectionName, toolName);
 }