Commit 066901b
committed
Refactor object cloning and simplify code structure
- Added a using directive for `ListFunctions.Extensions`.
- Removed the `CopyObject` method and replaced it with `CloneIf()` for object cloning.
- Simplified the retrieval of the `statement` variable by inlining the call to `_statementProp.Value.GetValue(info)`.
- Updated handling of `variable.Value` to utilize the new `CloneIf()` method, improving clarity and efficiency.1 parent bce17ad commit 066901b
File tree
1 file changed
+4
-20
lines changed- src/engine/ListFunctions.Engine/Modern/Exceptions
1 file changed
+4
-20
lines changedLines changed: 4 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 68 | | |
84 | 69 | | |
85 | 70 | | |
| |||
105 | 90 | | |
106 | 91 | | |
107 | 92 | | |
108 | | - | |
109 | | - | |
| 93 | + | |
110 | 94 | | |
111 | 95 | | |
112 | 96 | | |
| |||
135 | 119 | | |
136 | 120 | | |
137 | 121 | | |
138 | | - | |
| 122 | + | |
139 | 123 | | |
140 | 124 | | |
141 | 125 | | |
| |||
0 commit comments