-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTestObject.cs
33 lines (30 loc) · 1.03 KB
/
TestObject.cs
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
namespace DataImportExample
{
#region #testObject
class TestObject
{
public TestObject(int intValue, string value, bool boolValue, byte[] imageValue)
{
this.intValue = intValue;
this.Value = value;
this.BoolValue = boolValue;
this.ImageValue = imageValue;
}
public TestObject(int intValue, string value, bool boolValue, string imageBase64)
{
this.intValue = intValue;
this.Value = value;
this.BoolValue = boolValue;
this.ImageBase64 = imageBase64;
}
public int intValue;
private int privateValue { get { return 123; } }
public int IntValue { get { return intValue + privateValue - 123; } }
public string Value { get; set; }
public bool BoolValue { get; set; }
public byte[] ImageValue { get; set; }
public int this[int index] { get { return index; } }
public string ImageBase64 { get; set; }
}
#endregion #testObject
}