3 types derived from ParameterBinding
Microsoft.ML.Data (3)
EntryPoints\EntryPointNode.cs (3)
1216
:
ParameterBinding
1237
:
ParameterBinding
1266
:
ParameterBinding
27 references to ParameterBinding
Microsoft.ML.Data (27)
EntryPoints\EntryPointNode.cs (20)
418
private readonly Dictionary<string, List<
ParameterBinding
>> _inputBindingMap;
420
private readonly Dictionary<
ParameterBinding
, VariableBinding> _inputMap;
487
_inputMap = new Dictionary<
ParameterBinding
, VariableBinding>();
488
_inputBindingMap = new Dictionary<string, List<
ParameterBinding
>>();
558
Dictionary<string, List<
ParameterBinding
>> inputBindingMap,
559
Dictionary<
ParameterBinding
, VariableBinding> inputMap,
603
var inputBindingMap = new Dictionary<string, List<
ParameterBinding
>>();
604
var inputParamBindingMap = new Dictionary<
ParameterBinding
, VariableBinding>();
608
inputBindingMap.Add(kvp.Key, new List<
ParameterBinding
>() { paramBinding });
636
_inputBindingMap[inputName] = new List<
ParameterBinding
>();
660
_inputBindingMap[inputName] = new List<
ParameterBinding
>();
705
var toModify = new List<
ParameterBinding
>();
711
foreach (
var
parameterBinding in toModify)
844
public Dictionary<string, List<
ParameterBinding
>> InputBindingMap => _inputBindingMap;
845
public Dictionary<
ParameterBinding
, VariableBinding> InputMap => _inputMap;
849
private object BuildParameterValue(List<
ParameterBinding
> bindings)
853
var
firstBinding = bindings.First();
867
foreach (
var
binding in bindings)
935
List<
ParameterBinding
> parameterBindings;
964
InputBindingMap.Add(uniqueName, new List<
ParameterBinding
> { paramBinding });
EntryPoints\InputBuilder.cs (7)
217
public JObject GetJsonObject(object instance, Dictionary<string, List<
ParameterBinding
>> inputBindingMap, Dictionary<
ParameterBinding
, VariableBinding> inputMap)
231
if (inputBindingMap.TryGetValue(field.Name, out List<
ParameterBinding
> bindings))
236
var
paramBinding = bindings[0];
250
foreach (
var
parameterBinding in bindings)
382
result.Add(attr.Input.Name ?? field.Name, builder.GetJsonObject(instanceVal, new Dictionary<string, List<
ParameterBinding
>>(),
383
new Dictionary<
ParameterBinding
, VariableBinding>()));