A simple static class that stores a string template for generating HLSL include guard wrappers. It defines Contents as a format string that injects a header macro name, some declarations, and a body block.
namespace ShaderGraphPlus;
public static class HLSLIncludeTemplate
{
public static string Contents => @"
#ifndef {0}_H
#define {0}_H
{1}
{{
{2}
}}
#endif // {0}_H
";
}