예제 #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="CompleteTask" /> class.
 /// </summary>
 /// <param name="state"></param>
 /// <param name="action">The action.</param>
 public CompleteTask(AmbientState state, Action action)
 {
     State     = state;
     SetResult = action;
 }
예제 #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="CompleteTask" /> class.
 /// </summary>
 /// <param name="state"></param>
 /// <param name="action">The action.</param>
 public CompleteTask(AmbientState state, Action action)
 {
     State = state;
     SetResult = action;
 }