Skip to content

Commit

Permalink
Updating comments
Browse files Browse the repository at this point in the history
  • Loading branch information
InbarGazit committed Mar 13, 2024
1 parent 57ed2e6 commit f328a2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions launcher-csharp/eSignature/Examples/EmbeddedSending.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static class EmbeddedSending
/// <returns>URL to embed in your application</returns>
public static string SendEnvelopeUsingEmbeddedSending(string signerEmail, string signerName, string ccEmail, string ccName, string docDocx, string docPdf, string accessToken, string basePath, string accountId, string startingView, string returnUrl)
{
//ds-snippet-start:eSign10Step2
//ds-snippet-start:eSign11Step2
var docuSignClient = new DocuSignClient(basePath);
docuSignClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + accessToken);
EnvelopesApi envelopesApi = new EnvelopesApi(docuSignClient);
Expand All @@ -39,9 +39,9 @@ public static string SendEnvelopeUsingEmbeddedSending(string signerEmail, string
EnvelopeDefinition env = MakeEnvelope(signerEmail, signerName, ccEmail, ccName, docDocx, docPdf, "created");
EnvelopeSummary results = envelopesApi.CreateEnvelope(accountId, env);
string envelopeId = results.EnvelopeId;
//ds-snippet-end:eSign10Step2
//ds-snippet-end:eSign11Step2

//ds-snippet-start:eSign10Step3
//ds-snippet-start:eSign11Step3
// Step 3. create the sender view
// Call the CreateSenderView API
// Exceptions will be caught by the calling function
Expand All @@ -58,12 +58,12 @@ public static string SendEnvelopeUsingEmbeddedSending(string signerEmail, string
{
redirectUrl = redirectUrl.Replace("send=1", "send=0");
}

Check failure on line 60 in launcher-csharp/eSignature/Examples/EmbeddedSending.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line

Check failure on line 60 in launcher-csharp/eSignature/Examples/EmbeddedSending.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line
//ds-snippet-end:eSign10Step3
//ds-snippet-end:eSign11Step3

return redirectUrl;
}

//ds-snippet-start:eSign10Step2
//ds-snippet-start:eSign11Step2
private static EnvelopeDefinition MakeEnvelope(string signerEmail, string signerName, string ccEmail, string ccName, string docDocx, string docPdf, string envStatus)
{
// Data for this method
Expand Down Expand Up @@ -217,6 +217,6 @@ private static byte[] Document1(string signerEmail, string signerName, string cc
" </body>\n" +
" </html>");
}

Check failure on line 219 in launcher-csharp/eSignature/Examples/EmbeddedSending.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line

Check failure on line 219 in launcher-csharp/eSignature/Examples/EmbeddedSending.cs

View workflow job for this annotation

GitHub Actions / build

Closing brace should be followed by blank line
//ds-snippet-end:eSign10Step2
//ds-snippet-end:eSign11Step2
}
}

0 comments on commit f328a2b

Please sign in to comment.