| 194 | }); |
| 195 | } |
| 196 | winrt::Windows::Foundation::IReference<bool> RobocopyViewModel::UseSource() |
| 197 | { |
| 198 | if (m_useSourceCount == 0) |
| 199 | return false; |
| 200 | else if (m_useSourceCount < m_duplicateFiles.Size()) |
| 201 | return nullptr; |
| 202 | else |
| 203 | return true; |
| 204 | } |
| 205 | void RobocopyViewModel::UseSource(winrt::Windows::Foundation::IReference<bool> value) |
| 206 | { |
| 207 | if (!value) return; |