예제 #1
0
 /// <summary>
 /// Build the work area
 /// </summary>
 /// <param name="connection"></param>
 /// <param name="dumpOnly">Dump commands only to standard logging interface rather than execute them</param>
 /// <param name="failNow">Return true to abort right away</param>
 /// <returns></returns>
 public static ISSHConnection BuildWorkArea(this ISSHConnection connection, Func <bool> failNow = null, bool dumpOnly = false)
 {
     return(connection.BuildWorkAreaAsync(failNow, dumpOnly)
            .WaitAndUnwrapException());
 }