public static void OutputRazorCodeBehindFile(Options options, DataInfo info) { string blazerFile = GetRazorFile(options, info) + ".cs"; Console.WriteLine("Razor Code Behind File = [" + blazerFile + "]"); CommonIO.OutputFile(blazerFile, info.RazorCodeBehindStrings, options); }
public static void OutputCustomRazorLayout(Options options, DataInfo info) { string strFile = GetRazorCustomLayoutFile(options, info); if (options.IsTraceOn(Trace_Options.TraceInfo)) { Trace.TraceError("Razor Custom Layout File = [" + strFile + "]"); } CommonIO.OutputFile(strFile, info.RazorCustomLayoutStrings, options); }
public static void OutputBlazorFile(Options options, DataInfo info) { string blazerFile = GetRazorFile(options, info); if (options.IsTraceOn(Trace_Options.TraceInfo)) { Trace.TraceInformation("Blazor File = [" + blazerFile + "]"); } CommonIO.OutputFile(blazerFile, info.BlazorStrings, options); }
public static void OutputNavMenuFile(Options options, DataInfo info) { if (info.NewNavMenuStrings.Count > 0) { string strFile = GetNavMenuFile(options, info); if (options.IsTraceOn(Trace_Options.TraceInfo)) { Trace.TraceInformation("NavMenu File = [" + strFile + "]"); } CommonIO.OutputFile(strFile, info.NewNavMenuStrings, options); } }
public static void OutputHostFile(Options options, DataInfo info) { if (info.NewHostStrings.Count > 0) { string htmlFile = GetHostFile(options, info); if (options.IsTraceOn(Trace_Options.TraceInfo)) { Trace.TraceInformation("Host File = [" + htmlFile + "]"); } CommonIO.OutputFile(htmlFile, info.NewHostStrings, options); } }
public static void OutputPreview(Options options, DataInfo info) { if (options.HasPreview() == true) { string previewFile = options.PreviewFile; if (options.IsTraceOn(Trace_Options.TraceInfo)) { Trace.TraceInformation("Preview File = [" + previewFile + "]"); } CommonIO.OutputFile(previewFile, info.PreviewStrings, options); } }