Skip to content

Commit 8ba446e

Browse files
committed
resolving final merge conflicts and fixing code styles
1 parent ce51d43 commit 8ba446e

File tree

4 files changed

+10
-37
lines changed

4 files changed

+10
-37
lines changed

launcher-csharp/Properties/launchSettings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
"IIS Express": {
1212
"commandName": "IISExpress",
1313
"launchBrowser": true,
14+
"applicationUrl": "https://localhost:8080;http://localhost:5000",
1415
"environmentVariables": {
1516
"ASPNETCORE_ENVIRONMENT": "Development"
16-
},
17-
"applicationUrl": "https://localhost:8080;http://localhost:5000"
17+
}
1818
},
1919
"CodeExamples": {
2020
"commandName": "Project",
2121
"launchBrowser": true,
22+
"applicationUrl": "https://localhost:44333;http://localhost:5002",
2223
"environmentVariables": {
2324
"ASPNETCORE_ENVIRONMENT": "Development"
24-
},
25-
"applicationUrl": "https://localhost:44333;http://localhost:5002"
25+
}
2626
}
2727
}
2828
}

launcher-csharp/WebForms/Examples/CreateAndEmbedFormService.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,12 @@ public static class CreateAndEmbedFormService
1717
{
1818
public static WebFormSummaryList GetForms(Client.DocuSignClient docuSignClient, string accountId)
1919
{
20-
<<<<<<< HEAD
2120
//ds-snippet-start:WebForms1Step3
22-
=======
23-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
2421
FormManagementApi formManagementApi = new FormManagementApi(docuSignClient);
2522
FormManagementApi.ListFormsOptions listFormsOptions = new FormManagementApi.ListFormsOptions();
2623
listFormsOptions.search = "Web Form Example Template";
2724
return formManagementApi.ListForms(accountId, listFormsOptions);
28-
<<<<<<< HEAD
2925
//ds-snippet-end:WebForms1Step3
30-
=======
31-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
3226
}
3327

3428
public static void AddTemplateIdToForm(string fileLocation, string templateId)
@@ -81,19 +75,13 @@ public static List<EnvelopeTemplate> GetTemplatesByName(
8175
string accountId,
8276
string templateName)
8377
{
84-
<<<<<<< HEAD
85-
=======
8678
//ds-snippet-start:WebForms1Step3
87-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
8879
var templatesApi = new TemplatesApi(docuSignClient);
8980
var listTemplateOptions = new TemplatesApi.ListTemplatesOptions();
9081
listTemplateOptions.searchText = templateName;
9182

9283
EnvelopeTemplateResults templates = templatesApi.ListTemplates(accountId, listTemplateOptions);
93-
<<<<<<< HEAD
94-
=======
9584
//ds-snippet-end:WebForms1Step3
96-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
9785

9886
return templates.EnvelopeTemplates;
9987
}

launcher-csharp/WebForms/Views/CreateAndEmbedForm/Embed.cshtml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ async function loadWebform() {
2929
var instanceToken = '@ViewBag.InstanceToken'.replace(/&#x2B;/g, "+");
3030
const { loadDocuSign } = window.DocuSign
3131
const docusign = await loadDocuSign('@ViewBag.IntegrationKey');
32-
<<<<<<< HEAD
33-
34-
=======
3532
36-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
3733
const webFormOptions = {
3834
//Used with the runtime API workflow, for private webforms this is needed to render anything
3935
instanceToken: instanceToken,
@@ -50,25 +46,12 @@ async function loadWebform() {
5046
minHeight: "1500px",
5147
},
5248
//Controls the auto resize behavior of the iframe
53-
<<<<<<< HEAD
5449
autoResizeHeight: true
55-
=======
56-
autoResizeHeight: true,
57-
//These values are passed to the iframe URL as query params
58-
tracking: {
59-
"tracking-field": "tracking-value",
60-
},
61-
//These values are passed to the iframe URL as hash params
62-
hidden: {
63-
"hidden-field": "hidden-value",
64-
},
65-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
6650
};
6751
6852
const webFormWidget = docusign.webforms({
6953
url: "@ViewBag.Url",
7054
options: webFormOptions,
71-
<<<<<<< HEAD
7255
});
7356
7457
//Basic milestones in this workflow
@@ -107,9 +90,6 @@ async function loadWebform() {
10790
// event = { type: 'userActivity', activityType: 'click' | 'keydown' };
10891
console.log('debug form userActivity', event);
10992
});
110-
=======
111-
})
112-
>>>>>>> 5f36da8a1ae836a8e2e7fb3d56b089bec481c50e
11393
11494
webFormWidget.mount("#docusign");
11595
}

launcher-csharp/eSignature/Examples/DocumentGeneration.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public static EnvelopeTemplate MakeTemplate()
122122
Status = "created",
123123
};
124124
}
125+
125126
//ds-snippet-end:eSign42Step2
126127

127128
//ds-snippet-start:eSign42Step4
@@ -148,6 +149,7 @@ public static TemplateTabs PrepareTabs()
148149
DateSignedTabs = new List<DateSigned> { dateSignedTabs },
149150
};
150151
}
152+
151153
//ds-snippet-end:eSign42Step4
152154

153155
//ds-snippet-start:eSign42Step3
@@ -169,6 +171,7 @@ public static EnvelopeDefinition AddDocumentTemplate(string offerDocumentDocx)
169171
Documents = new List<Document> { document },
170172
};
171173
}
174+
172175
//ds-snippet-end:eSign42Step3
173176

174177
//ds-snippet-start:eSign42Step5
@@ -188,6 +191,7 @@ public static EnvelopeDefinition MakeEnvelope(string candidateEmail, string cand
188191
TemplateId = templateId,
189192
};
190193
}
194+
191195
//ds-snippet-end:eSign42Step5
192196

193197
//ds-snippet-start:eSign42Step7
@@ -238,6 +242,7 @@ public static DocGenFormFieldRequest FormFields(
238242
},
239243
};
240244
}
245+
241246
//ds-snippet-end:eSign42Step7
242247
}
243-
}
248+
}

0 commit comments

Comments
 (0)