-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodeGenerationResponse.cs
More file actions
103 lines (86 loc) · 2.67 KB
/
CodeGenerationResponse.cs
File metadata and controls
103 lines (86 loc) · 2.67 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#region using statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#endregion
namespace DataJuggler.Excelerate
{
#region class CodeGenerationResponse
/// <summary>
/// This class is used to return a response with the path to the classes generated so they can be downloaded.
/// </summary>
public class CodeGenerationResponse
{
#region Private Variables
private bool success;
private string fullPath;
private string fileName;
#endregion
#region Properties
#region FileName
/// <summary>
/// This property gets or sets the value for 'FileName'.
/// </summary>
public string FileName
{
get { return fileName; }
set { fileName = value; }
}
#endregion
#region FullPath
/// <summary>
/// This property gets or sets the value for 'FullPath'.
/// </summary>
public string FullPath
{
get { return fullPath; }
set { fullPath = value; }
}
#endregion
#region HasFileName
/// <summary>
/// This property returns true if the 'FileName' exists.
/// </summary>
public bool HasFileName
{
get
{
// initial value
bool hasFileName = (!String.IsNullOrEmpty(this.FileName));
// return value
return hasFileName;
}
}
#endregion
#region HasFullPath
/// <summary>
/// This property returns true if the 'FullPath' exists.
/// </summary>
public bool HasFullPath
{
get
{
// initial value
bool hasFullPath = (!String.IsNullOrEmpty(this.FullPath));
// return value
return hasFullPath;
}
}
#endregion
#region Success
/// <summary>
/// This property gets or sets the value for 'Success'.
/// </summary>
public bool Success
{
get { return success; }
set { success = value; }
}
#endregion
#endregion
}
#endregion
}