| 106 | } |
| 107 | |
| 108 | bool SwitchPresenter::CompareValues(const IInspectable &compare, const IInspectable &value) |
| 109 | { |
| 110 | if (compare == value) |
| 111 | { |
| 112 | return true; |
| 113 | } |
| 114 | |
| 115 | if (!compare || !value) |
| 116 | { |
| 117 | return false; |
| 118 | } |
| 119 | |
| 120 | return ValueToString(compare) == ValueToString(value); |
| 121 | } |
| 122 | |
| 123 | hstring SwitchPresenter::ValueToString(const IInspectable &value) |
| 124 | { |
nothing calls this directly
no outgoing calls
no test coverage detected