TransformText() public method

Create the template output
public TransformText ( ) : string
return string
示例#1
0
 void GeneratePackagesConfig()
 {
     var assemblyName = Configuration.Namespace.Replace("Amazon.", "AWSSDK.");
     var session = new Dictionary<string, object>
     {
         { "AssemblyName", assemblyName },
     };
     var pcGenerator = new PackagesConfig() { Session = session };
     var text = pcGenerator.TransformText();
     WriteFile(ServiceFilesRoot, string.Empty, "packages.config", text);
 }
 void GeneratePackagesConfig()
 {
     // no customization in packages.config at present
     var pcGenerator = new PackagesConfig();
     var text = pcGenerator.TransformText();
     WriteFile(ServiceFilesRoot, string.Empty, "packages.config", text);
 }