Exemplo n.º 1
0
 /// <summary>
 /// Runs a print command, and raises events for each file printed.
 /// </summary>
 /// <param name="args">Arguments to the <code>p4 print</code> command.</param>
 /// <event>OnPrintStream</event>
 /// <event>OnPrintEndFile</event>
 /// <remarks>
 /// This method is useful when you need to print several files with a single call
 /// to the Perforce server.
 /// </remarks>
 /// <example><code language='c#'></code></example>
 public void PrintStreamEvents(params string[] args)
 {
     P4PrintCallback pcb = new P4PrintCallback(this, OnPrintStream, OnPrintEndFile);
     RunCallback(pcb, "print", args);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Runs a print command, and raises events for each file printed.
        /// </summary>
        /// <param name="args">Arguments to the <code>p4 print</code> command.</param>
        /// <event>OnPrintStream</event>
        /// <event>OnPrintEndFile</event>
        /// <remarks>
        /// This method is useful when you need to print several files with a single call
        /// to the Perforce server.
        /// </remarks>
        /// <example><code language='c#'></code></example>
        public void PrintStreamEvents(params string[] args)
        {
            P4PrintCallback pcb = new P4PrintCallback(this, OnPrintStream, OnPrintEndFile);

            RunCallback(pcb, "print", args);
        }