24 references to IPostAction
dotnet (7)
Commands\New\PostActions\DotnetAddPostActionProcessor.cs (2)
35
protected override bool ProcessInternal(IEngineEnvironmentSettings environment,
IPostAction
action, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
114
private bool AddReference(
IPostAction
actionConfig, string projectFile, string outputBasePath, ICreationEffects creationEffects)
Commands\New\PostActions\DotnetRestorePostActionProcessor.cs (1)
18
protected override bool ProcessInternal(IEngineEnvironmentSettings environment,
IPostAction
actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
Commands\New\PostActions\DotnetSlnPostActionProcessor.cs (4)
29
internal static bool TryGetProjectFilesToAdd(
IPostAction
actionConfig, ICreationResult templateCreationResult, string outputBasePath, [NotNullWhen(true)] out IReadOnlyList<string> projectFiles)
68
protected override bool ProcessInternal(IEngineEnvironmentSettings environment,
IPostAction
action, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
136
private static string? GetSolutionFolder(
IPostAction
actionConfig)
145
private static bool? GetInRoot(
IPostAction
actionConfig)
Microsoft.TemplateEngine.Abstractions (1)
ICreationResult.cs (1)
14
IReadOnlyList<
IPostAction
> PostActions { get; }
Microsoft.TemplateEngine.Cli (16)
PostActionDispatcher.cs (7)
65
/// Note that if <see cref="
IPostAction
.ContinueOnError"/> is set to true, the result will be <see cref="PostActionExecutionStatus.Success"/> even if the post action fails.
66
/// If the user cancelled post action with <see cref="
IPostAction
.ContinueOnError"/> set to true, the result will be <see cref="PostActionExecutionStatus.Cancelled"></see> anyway.<br />
82
IReadOnlyList<
IPostAction
> postActions = isDryRun
97
foreach (
IPostAction
action in postActions)
175
private bool AskUserIfActionShouldRun(
IPostAction
action)
215
IPostAction
action,
241
private void DisplayInstructionsForAction(
IPostAction
action, bool useErrorOutput = false)
PostActionProcessors\AddJsonPropertyPostActionProcessor.cs (3)
81
IPostAction
action,
173
private static JsonNode? AddElementToJson(IPhysicalFileSystem fileSystem, string targetJsonFile, string? propertyPath, string propertyPathSeparator, string newJsonPropertyName, string newJsonPropertyValue,
IPostAction
action)
302
public static JsonContentParameters? CreateFromPostAction(
IPostAction
action)
PostActionProcessors\ChmodPostActionProcessor.cs (1)
17
protected override bool ProcessInternal(IEngineEnvironmentSettings environment,
IPostAction
actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
PostActionProcessors\InstructionDisplayPostActionProcessor.cs (1)
16
protected override bool ProcessInternal(IEngineEnvironmentSettings environment,
IPostAction
actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
PostActionProcessors\IPostActionProcessor.cs (1)
22
bool Process(IEngineEnvironmentSettings environment,
IPostAction
action, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath);
PostActionProcessors\PostActionProcessorBase.cs (2)
17
IPostAction
action,
118
IPostAction
action,
PostActionProcessors\ProcessStartPostActionProcessor.cs (1)
17
protected override bool ProcessInternal(IEngineEnvironmentSettings environment,
IPostAction
actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)