Beispiel #1
0
 /// <summary>
 /// Saves the form to Perforce.
 /// </summary>
 /// <param name="Form">The P4Form object retrieved from Fetch_Form.</param>
 /// <param name="Force">True to pass the '-f' flag when saving.</param>
 /// <include file='CodeDocuments.xml' path='//Forms/remarks' />
 /// <returns>P4UnParsedRecordSet.  Output can be parsed to verify the form was processed correctly.</returns>
 public P4UnParsedRecordSet Save_Form(P4Form Form, bool Force)
 {
     if (Form == null)
     {
         throw new ArgumentNullException("Form");
     }
     return(Save_Form(Form.FormCommand, Form.FormatSpec(), Force));
 }
Beispiel #2
0
 /// <summary>
 /// Saves the form to Perforce.
 /// </summary>
 /// <param name="Form">The P4Form object retrieved from Fetch_Form.</param>
 /// <param name="args">Arguments passed to the form command.</param>
 /// <include file='CodeDocuments.xml' path='//Forms/remarks' />
 /// <returns>P4UnParsedRecordSet.  Output can be parsed to verify the form was processed correctly.</returns>
 public P4UnParsedRecordSet Save_Form(P4Form Form, params string[] args)
 {
     if (Form == null)
     {
         throw new ArgumentNullException("Form");
     }
     return(Save_Form(Form.FormCommand, Form.FormatSpec(), args));
 }
Beispiel #3
0
 /// <summary>
 /// Saves the form to Perforce.
 /// </summary>
 /// <param name="Form">The P4Form object retrieved from Fetch_Form.</param>
 /// <param name="args">Arguments passed to the form command.</param>
 /// <include file='CodeDocuments.xml' path='//Forms/remarks' />
 /// <returns>P4UnParsedRecordSet.  Output can be parsed to verify the form was processed correctly.</returns>
 public P4UnParsedRecordSet Save_Form(P4Form Form, params string[] args)
 {
     if (Form == null) throw new ArgumentNullException("Form");
     return Save_Form(Form.FormCommand, Form.FormatSpec(), args);
 }
Beispiel #4
0
 /// <summary>
 /// Saves the form to Perforce.
 /// </summary>
 /// <param name="Form">The P4Form object retrieved from Fetch_Form.</param>
 /// <param name="Force">True to pass the '-f' flag when saving.</param>
 /// <include file='CodeDocuments.xml' path='//Forms/remarks' />
 /// <returns>P4UnParsedRecordSet.  Output can be parsed to verify the form was processed correctly.</returns>
 public P4UnParsedRecordSet Save_Form(P4Form Form, bool Force)
 {
     if (Form == null) throw new ArgumentNullException("Form");
     return Save_Form(Form.FormCommand, Form.FormatSpec(), Force);
 }