Private/Cs/WebProj/New-AppSettingsCsToString.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Function New-AppSettingsCsToString($csprojName) { return @" using System.Collections.Generic; namespace $csprojName { /// <summary> /// POCO to hold values in appSettings.json /// </summary> public class AppSettings { public string Title { get; set; } } } "@ } |