Ejemplo n.º 1
0
        /// <summary>
        /// Binds the specified client to the user interface defined by args
        /// </summary>
        /// <param name="client">The client to bind.</param>
        /// <param name="parentWindow">The parent window.</param>
        public static void Bind(GitClient client, IWin32Window parentWindow)
        {
            if (client == null)
            {
                throw new ArgumentNullException("client");
            }

            GitUIBindArgs args = new GitUIBindArgs();

            args.ParentWindow = parentWindow;

            Bind(client, args);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
 internal void Bind(GitClient client, GitUIBindArgs args)
 {
     //throw new NotImplementedException();
 }
Ejemplo n.º 4
0
 internal void Bind(GitClient client, GitUIBindArgs args)
 {
     //throw new NotImplementedException();
 }