| 121 | } |
| 122 | |
| 123 | hstring SwitchPresenter::ValueToString(const IInspectable &value) |
| 124 | { |
| 125 | if (const auto str = value.try_as<hstring>()) |
| 126 | { |
| 127 | return *str; |
| 128 | } |
| 129 | else |
| 130 | { |
| 131 | return wux::Markup::XamlBindingHelper::ConvertValue(xaml_typename<hstring>(), value).as<hstring>(); |
| 132 | } |
| 133 | } |
| 134 | } |
nothing calls this directly
no outgoing calls
no test coverage detected