Skip to content

Commit 6602772

Browse files
committed
Fixing merge issues
1 parent 01a66b7 commit 6602772

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

launcher-csharp/Admin/Examples/CreateUser.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ private static NewUserRequest ConstructNewUserRequest(
133133
AutoActivateMemberships = true,
134134
};
135135
}
136+
136137
//ds-snippet-end:Admin1Step5
137138
}
138139
}

launcher-csharp/eSignature/Controllers/FocusedView.cs

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
// <copyright file="Eg044FocusedViewController.cs" company="DocuSign">
1+
// <copyright file="FocusedView.cs" company="DocuSign">
22
// Copyright (c) DocuSign. All rights reserved.
33
// </copyright>
44

55
namespace DocuSign.CodeExamples.Views
66
{
77
using System;
8+
using System.Runtime.InteropServices;
89
using DocuSign.CodeExamples.Common;
910
using DocuSign.CodeExamples.Controllers;
1011
using DocuSign.CodeExamples.Models;
11-
using System.Runtime.InteropServices;
1212
using Microsoft.AspNetCore.Mvc;
13-
using DocuSign.Rooms.Model;
14-
using System.Configuration;
1513
using Microsoft.Extensions.Configuration;
1614

1715
[Area("eSignature")]
@@ -22,16 +20,16 @@ public class FocusedView : EgController
2220
private readonly string signerClientId = "1000";
2321
private readonly string dsReturnUrl;
2422
private readonly string dsIntegrationKey;
25-
private readonly IConfiguration _configuration;
23+
private readonly IConfiguration configuration;
2624

27-
public FocusedView(DSConfiguration config, IConfiguration configuration, LauncherTexts launcherTexts, IRequestItemsService requestItemsService)
25+
public FocusedView(DsConfiguration config, IConfiguration configuration, LauncherTexts launcherTexts, IRequestItemsService requestItemsService)
2826
: base(config, launcherTexts, requestItemsService)
2927
{
3028
this.dsPingUrl = config.AppUrl + "/";
3129
this.dsReturnUrl = config.AppUrl + "/dsReturn";
32-
_configuration = configuration;
30+
this.configuration = configuration;
3331

34-
this.CodeExampleText = this.GetExampleText("eg044", ExamplesAPIType.ESignature);
32+
this.CodeExampleText = this.GetExampleText("eg044", ExamplesApiType.ESignature);
3533
this.ViewBag.title = this.CodeExampleText.ExampleName;
3634
}
3735

@@ -53,11 +51,11 @@ public IActionResult Create(string signerEmail, string signerName)
5351
string docPDF;
5452
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
5553
{
56-
docPDF = Convert.ToBoolean(this.Config.QuickACG) ? @"../launcher-csharp/" + this.Config.DocPdf : this.Config.DocPdf;
54+
docPDF = Convert.ToBoolean(this.Config.QuickAcg) ? @"../launcher-csharp/" + this.Config.DocPdf : this.Config.DocPdf;
5755
}
5856
else
5957
{
60-
docPDF = Convert.ToBoolean(this.Config.QuickACG) ? @"..\\launcher-csharp\\" + this.Config.DocPdf : this.Config.DocPdf;
58+
docPDF = Convert.ToBoolean(this.Config.QuickAcg) ? @"..\\launcher-csharp\\" + this.Config.DocPdf : this.Config.DocPdf;
6159
}
6260

6361
// Check the token with minimal buffer time.
@@ -88,7 +86,7 @@ public IActionResult Create(string signerEmail, string signerName)
8886
// Save for future use within the example launcher
8987
this.RequestItemsService.EnvelopeId = result.Item1;
9088
this.ViewBag.Url = result.Item2;
91-
this.ViewBag.IntegrationKey = this._configuration["DocuSign:ClientId"];
89+
this.ViewBag.IntegrationKey = this.configuration["DocuSign:ClientId"];
9290

9391
// Redirect the user to the Signing Ceremony
9492
return this.View("embed");

launcher-csharp/eSignature/Examples/FocusedView.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ public static RecipientViewRequest MakeRecipientViewRequest(string signerEmail,
123123

124124
return viewRequest;
125125
}
126+
126127
//ds-snippet-end:eSign44Step4
127128

128129
//ds-snippet-start:eSign44Step2
@@ -193,6 +194,7 @@ public static EnvelopeDefinition MakeEnvelope(string signerEmail, string signerN
193194

194195
return envelopeDefinition;
195196
}
197+
196198
//ds-snippet-end:eSign44Step2
197199
}
198200
}

0 commit comments

Comments
 (0)