Start() публичный Метод

public Start ( Action callback ) : void
callback Action
Результат void
Пример #1
0
 public void StartSignalling(Action<Exception> callback)
 {
     if (signalling == null)
     {
         signalling = new Signalling(WebSyncServerUrl);
         signalling.Start(callback);
     }
     else
     {
         callback(new Exception(string.Format("Error starting signalling. {0}", Signalling.LastStartException.Message )));
     }
 }
Пример #2
0
 public void StartSignalling(Action <Exception> callback)
 {
     if (signalling == null)
     {
         signalling = new Signalling(WebSyncServerUrl);
         signalling.Start(callback);
     }
     else
     {
         callback(new Exception(string.Format("Error starting signalling. {0}", Signalling.LastStartException.Message)));
     }
 }
Пример #3
0
 public void StartSignalling(Action<string> callback)
 {
     Signalling = new Signalling(WebSyncServerUrl);
     Signalling.Start(callback);
 }
Пример #4
0
 public void StartSignalling(Action <string> callback)
 {
     Signalling = new Signalling(WebSyncServerUrl);
     Signalling.Start(callback);
 }