1 implementation of IPostAction
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
PostAction.cs (1)
11
internal class PostAction :
IPostAction
25 references to IPostAction
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)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (8)
CreationResult.cs (2)
10
public CreationResult(IReadOnlyList<
IPostAction
> postActions, IReadOnlyList<ICreationPath> primaryOutputs)
16
public IReadOnlyList<
IPostAction
> PostActions { get; }
IRunnableProjectConfig.cs (1)
30
IReadOnlyList<
IPostAction
> PostActions { get; }
PostAction.cs (3)
32
internal static List<
IPostAction
> Evaluate(
39
List<
IPostAction
> actionList = new();
91
IPostAction
postAction = new PostAction(
RunnableProjectConfig.cs (2)
51
private IReadOnlyList<
IPostAction
>? _evaluatedPostActions;
87
public IReadOnlyList<
IPostAction
> PostActions => _evaluatedPostActions ?? throw new InvalidOperationException($"{nameof(Evaluate)} should be called before accessing the property.");