1 instantiation of CoalesceMacro
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Components.cs (1)
16private static readonly CoalesceMacro CoalesceMacro = new();
11 references to CoalesceMacro
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (11)
Components.cs (1)
16private static readonly CoalesceMacro CoalesceMacro = new();
Macros\CoalesceMacro.cs (7)
24environmentSettings.Host.Logger.LogDebug("[{macro}]: '{var}': source value '{source}' is not used, because it is equal to default value '{default}'.", nameof(CoalesceMacro), config.VariableName, currentSourceValue, config.DefaultValue); 33nameof(CoalesceMacro), 41environmentSettings.Host.Logger.LogDebug("[{macro}]: '{var}': source value '{source}' is an empty string, fall back.", nameof(CoalesceMacro), config.VariableName, currentSourceValue); 46environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to '{value}'.", nameof(CoalesceMacro), config.VariableName, currentSourceValue); 53environmentSettings.Host.Logger.LogDebug("[{macro}]: Assigned variable '{var}' to fallback value '{value}'.", nameof(CoalesceMacro), config.VariableName, currentFallbackValue); 56environmentSettings.Host.Logger.LogDebug("[{macro}]: Variable '{var}' was not assigned, neither source nor fallback variable was found.", nameof(CoalesceMacro), config.VariableName); 57config.MacroErrors.Add(string.Format(LocalizableStrings.CoalesceMacro_Exception_MissedVariables, nameof(CoalesceMacro), config.VariableName));
Macros\CoalesceMacroConfig.cs (3)
8internal class CoalesceMacroConfig : BaseMacroConfig<CoalesceMacro, CoalesceMacroConfig>, IMacroConfigDependency 11CoalesceMacro macro, 34internal CoalesceMacroConfig(CoalesceMacro macro, IGeneratedSymbolConfig generatedSymbolConfig)