1 implementation of IValueForm
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
ValueForms\BaseValueFormFactory.cs (1)
29protected abstract class BaseValueForm : IValueForm
32 references to IValueForm
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (32)
ConfigModel\TemplateConfigModel.cs (5)
21private readonly Dictionary<string, IValueForm> _forms = SetupValueFormMapForTemplate(); 366public IReadOnlyDictionary<string, IValueForm> Forms 371foreach (KeyValuePair<string, IValueForm> kvp in value) 523private static Dictionary<string, IValueForm> SetupValueFormMapForTemplate(JsonObject? source = null) 525Dictionary<string, IValueForm> formMap = new(StringComparer.Ordinal);
Macros\ProcessValueFormMacroConfig.cs (4)
13internal ProcessValueFormMacroConfig(string sourceSymbol, string symbolName, string? dataType, string valueForm, IReadOnlyDictionary<string, IValueForm> forms) 28Form = forms.TryGetValue(valueForm, out IValueForm? form) 35internal IReadOnlyDictionary<string, IValueForm> Forms { get; } 37internal IValueForm Form { get; }
RunnableProjectConfig.cs (2)
297if (ConfigurationModel.Forms.TryGetValue(formName, out IValueForm valueForm)) 378if (ConfigurationModel.Forms.TryGetValue(formName, out IValueForm valueForm))
ValueFormRegistry.cs (1)
39internal static IValueForm GetForm(string name, JsonObject? obj)
ValueForms\ActionableValueFormFactory.cs (4)
9/// Base implementation for a <see cref="IValueFormFactory"/> for a <see cref="IValueForm"/> that doesn't have a configuration. 15public override IValueForm FromJObject(string name, JsonObject? configuration = null) 20public override IValueForm Create(string? name = null) 43public override string Process(string value, IReadOnlyDictionary<string, IValueForm> otherForms)
ValueForms\BaseValueFormFactory.cs (3)
25public abstract IValueForm Create(string? name = null); 27public abstract IValueForm FromJObject(string name, JsonObject? configuration = null); 43public abstract string Process(string value, IReadOnlyDictionary<string, IValueForm> otherForms);
ValueForms\ChainValueFormFactory.cs (1)
15protected override string Process(string value, IReadOnlyList<string>? steps, IReadOnlyDictionary<string, IValueForm> otherForms)
ValueForms\ConfigurableValueFormFactory.cs (4)
9/// Base implementation for a <see cref="IValueFormFactory"/> for a <see cref="IValueForm"/> that has a configuration of type <typeparamref name="T"/>. 15public override IValueForm FromJObject(string name, JsonObject? configuration) 25public override IValueForm Create(string? name = null) 52public override string Process(string value, IReadOnlyDictionary<string, IValueForm> otherForms)
ValueForms\DependentValueFormFactory.cs (5)
9/// Base implementation for a <see cref="IValueFormFactory"/> for a <see cref="IValueForm"/> that has a configuration of type <typeparamref name="T"/> and needs to know all the forms defined to process a value form. 15public override IValueForm FromJObject(string name, JsonObject? configuration) 25public override IValueForm Create(string? name = null) 39protected abstract string Process(string value, T? configuration, IReadOnlyDictionary<string, IValueForm> otherForms); 52public override string Process(string value, IReadOnlyDictionary<string, IValueForm> otherForms)
ValueForms\IValueForm.cs (1)
36string Process(string value, IReadOnlyDictionary<string, IValueForm> otherForms);
ValueForms\IValueFormFactory.cs (2)
18IValueForm Create(string? name = null); 23IValueForm FromJObject(string name, JsonObject? configuration = null);