24 references to IPostAction
dotnet (7)
Commands\New\PostActions\DotnetAddPostActionProcessor.cs (2)
35protected override bool ProcessInternal(IEngineEnvironmentSettings environment, IPostAction action, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath) 114private bool AddReference(IPostAction actionConfig, string projectFile, string outputBasePath, ICreationEffects creationEffects)
Commands\New\PostActions\DotnetRestorePostActionProcessor.cs (1)
18protected override bool ProcessInternal(IEngineEnvironmentSettings environment, IPostAction actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
Commands\New\PostActions\DotnetSlnPostActionProcessor.cs (4)
29internal static bool TryGetProjectFilesToAdd(IPostAction actionConfig, ICreationResult templateCreationResult, string outputBasePath, [NotNullWhen(true)] out IReadOnlyList<string> projectFiles) 68protected override bool ProcessInternal(IEngineEnvironmentSettings environment, IPostAction action, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath) 136private static string? GetSolutionFolder(IPostAction actionConfig) 145private static bool? GetInRoot(IPostAction actionConfig)
Microsoft.TemplateEngine.Abstractions (1)
ICreationResult.cs (1)
14IReadOnlyList<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 /> 82IReadOnlyList<IPostAction> postActions = isDryRun 97foreach (IPostAction action in postActions) 175private bool AskUserIfActionShouldRun(IPostAction action) 215IPostAction action, 241private void DisplayInstructionsForAction(IPostAction action, bool useErrorOutput = false)
PostActionProcessors\AddJsonPropertyPostActionProcessor.cs (3)
81IPostAction action, 173private static JsonNode? AddElementToJson(IPhysicalFileSystem fileSystem, string targetJsonFile, string? propertyPath, string propertyPathSeparator, string newJsonPropertyName, string newJsonPropertyValue, IPostAction action) 302public static JsonContentParameters? CreateFromPostAction(IPostAction action)
PostActionProcessors\ChmodPostActionProcessor.cs (1)
17protected override bool ProcessInternal(IEngineEnvironmentSettings environment, IPostAction actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
PostActionProcessors\InstructionDisplayPostActionProcessor.cs (1)
16protected override bool ProcessInternal(IEngineEnvironmentSettings environment, IPostAction actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)
PostActionProcessors\IPostActionProcessor.cs (1)
22bool Process(IEngineEnvironmentSettings environment, IPostAction action, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath);
PostActionProcessors\PostActionProcessorBase.cs (2)
17IPostAction action, 118IPostAction action,
PostActionProcessors\ProcessStartPostActionProcessor.cs (1)
17protected override bool ProcessInternal(IEngineEnvironmentSettings environment, IPostAction actionConfig, ICreationEffects creationEffects, ICreationResult templateCreationResult, string outputBasePath)