1 implementation of IValueForm
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
ValueForms\BaseValueFormFactory.cs (1)
29
protected abstract class BaseValueForm :
IValueForm
32 references to IValueForm
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (32)
ConfigModel\TemplateConfigModel.cs (5)
21
private readonly Dictionary<string,
IValueForm
> _forms = SetupValueFormMapForTemplate();
366
public IReadOnlyDictionary<string,
IValueForm
> Forms
371
foreach (KeyValuePair<string,
IValueForm
> kvp in value)
523
private static Dictionary<string,
IValueForm
> SetupValueFormMapForTemplate(JsonObject? source = null)
525
Dictionary<string,
IValueForm
> formMap = new(StringComparer.Ordinal);
Macros\ProcessValueFormMacroConfig.cs (4)
13
internal ProcessValueFormMacroConfig(string sourceSymbol, string symbolName, string? dataType, string valueForm, IReadOnlyDictionary<string,
IValueForm
> forms)
28
Form = forms.TryGetValue(valueForm, out
IValueForm
? form)
35
internal IReadOnlyDictionary<string,
IValueForm
> Forms { get; }
37
internal
IValueForm
Form { get; }
RunnableProjectConfig.cs (2)
297
if (ConfigurationModel.Forms.TryGetValue(formName, out
IValueForm
valueForm))
378
if (ConfigurationModel.Forms.TryGetValue(formName, out
IValueForm
valueForm))
ValueFormRegistry.cs (1)
39
internal 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.
15
public override
IValueForm
FromJObject(string name, JsonObject? configuration = null)
20
public override
IValueForm
Create(string? name = null)
43
public override string Process(string value, IReadOnlyDictionary<string,
IValueForm
> otherForms)
ValueForms\BaseValueFormFactory.cs (3)
25
public abstract
IValueForm
Create(string? name = null);
27
public abstract
IValueForm
FromJObject(string name, JsonObject? configuration = null);
43
public abstract string Process(string value, IReadOnlyDictionary<string,
IValueForm
> otherForms);
ValueForms\ChainValueFormFactory.cs (1)
15
protected 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"/>.
15
public override
IValueForm
FromJObject(string name, JsonObject? configuration)
25
public override
IValueForm
Create(string? name = null)
52
public 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.
15
public override
IValueForm
FromJObject(string name, JsonObject? configuration)
25
public override
IValueForm
Create(string? name = null)
39
protected abstract string Process(string value, T? configuration, IReadOnlyDictionary<string,
IValueForm
> otherForms);
52
public override string Process(string value, IReadOnlyDictionary<string,
IValueForm
> otherForms)
ValueForms\IValueForm.cs (1)
36
string Process(string value, IReadOnlyDictionary<string,
IValueForm
> otherForms);
ValueForms\IValueFormFactory.cs (2)
18
IValueForm
Create(string? name = null);
23
IValueForm
FromJObject(string name, JsonObject? configuration = null);