Select Git revision
TestUnit.cs
TestUnit.cs 716 B
using ConnectToSally;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SallyConnect
{
class TestUnit
{
static void Main(string[] args) {
String[] interfaces = new string[] { "theo" };
String docName = "random_edit_1114717882592231.sdaf";
DotNetSallyClient sallyClient = new DotNetSallyClient();
sallyClient.registerDocument(docName, interfaces);
System.Threading.Thread.Sleep(1000);
if (sallyClient.isRegistered()){
sallyClient.sendToSally("some message");
}
Console.Read();
}
}
}