C# 在Resharper中创建用于本地化的后缀模板

C# 在Resharper中创建用于本地化的后缀模板,c#,visual-studio,resharper,C#,Visual Studio,Resharper,我使用一个单独的库来本地化我的应用程序。如何制作一个宏,允许您自动将字符串(例如,$“我的最佳字符串{code.property}与另一个{other.property}”)转换为 string.Format( LocalizationService.GetString("UserInputString", "AnotherUserInputString", "My best string {0} with another {1}"), code.property, anoth

我使用一个单独的库来本地化我的应用程序。如何制作一个宏,允许您自动将字符串(例如,
$“我的最佳字符串{code.property}与另一个{other.property}”)转换为

string.Format(
    LocalizationService.GetString("UserInputString", "AnotherUserInputString", "My best string {0} with another {1}"), 
    code.property, another.property)
或其他具有模拟结果的算法

我不知道如何制作一个动态可扩展的后缀模板。我怎么做