-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathFixtureData - FieldDefinitionDTO.cs
More file actions
60 lines (54 loc) · 1.83 KB
/
Copy pathFixtureData - FieldDefinitionDTO.cs
File metadata and controls
60 lines (54 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
using System.Collections.Generic;
using Fr8.Infrastructure.Data.DataTransferObjects;
using Fr8.Infrastructure.Data.Manifests;
using Fr8.Infrastructure.Data.Control;
namespace Fr8.Testing.Unit.Fixtures
{
partial class FixtureData
{
public static ControlDefinitionDTO[] FieldDefinitionDTO1()
{
var fieldSelectDocusignTemplate = new DropDownList()
{
Label = "Select DocuSign Template",
Name = "Selected_DocuSign_Template",
Required = true,
Events = new List<ControlEvent>()
{
new ControlEvent("onChange", "requestConfig")
},
Source = new FieldSourceDTO
{
Label = "Available Templates",
ManifestType = CrateManifestTypes.StandardDesignTimeFields
}
};
var fieldEnvelopeSent = new CheckBox()
{
Label = "Envelope Sent",
Name = "Event_Envelope_Sent"
};
var fieldEnvelopeReceived = new CheckBox()
{
Label = "Envelope Received",
Name = "Event_Envelope_Received"
};
var fieldRecipientSigned = new CheckBox()
{
Label = "Recipient Signed",
Name = "Event_Recipient_Signed"
};
var fieldEventRecipientSent = new CheckBox()
{
Label = "Recipient Sent",
Name = "Event_Recipient_Sent"
};
return new ControlDefinitionDTO[] {
fieldSelectDocusignTemplate,
fieldEnvelopeSent,
fieldEnvelopeReceived,
fieldRecipientSigned,
fieldEventRecipientSent };
}
}
}