Пример #1
0
 /// <summary>
 ///     Create a new trigger session or return the existing session.
 /// </summary>
 /// <param name="sessionKey">The session key that identifies the session independently of the device.</param>
 /// <param name="description">A short description of the session.</param>
 /// <returns>Return the session including methods to trigger it</returns>
 public abstract Task <TaskSessionTrigger> CreateSession(SessionKey sessionKey, string description);
Пример #2
0
 /// <summary>
 ///     Create a new trigger session or return the existing session with the trigger servie name as description.
 /// </summary>
 /// <param name="sessionKey">The session key that identifies the session independently of the device.</param>
 /// <returns>Return the session including methods to trigger it</returns>
 public abstract Task <TaskSessionTrigger> CreateSession(SessionKey sessionKey);