MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / GetStringResource

Function GetStringResource

FastCopy/ResourceHelper.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <format>
5
6winrt::hstring GetStringResource(std::wstring_view key)
7{
8 static winrt::Microsoft::Windows::ApplicationModel::Resources::ResourceManager manager;
9 return manager.MainResourceMap().GetValue(std::format(L"Resources/{}", key)).ValueAsString();
10}
11
12winrt::hstring ToCapital(winrt::hstring word)
13{

Callers 3

OperationStringMethod · 0.85
onAllFinishedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected