/// <summary> /// Binds the specified client to the user interface defined by args /// </summary> /// <param name="client">The client to bind.</param> /// <param name="args">The args.</param> public static void Bind(GitClient client, GitUIBindArgs args) { if (client == null) throw new ArgumentNullException("client"); else if (args == null) throw new ArgumentNullException("args"); GitClientUIHandler handler = new GitClientUIHandler(args.ParentWindow); handler.Bind(client, args); }
/// <summary> /// Binds the specified client to the user interface defined by args /// </summary> /// <param name="client">The client to bind.</param> /// <param name="args">The args.</param> public static void Bind(GitClient client, GitUIBindArgs args) { if (client == null) { throw new ArgumentNullException("client"); } else if (args == null) { throw new ArgumentNullException("args"); } GitClientUIHandler handler = new GitClientUIHandler(args.ParentWindow); handler.Bind(client, args); }