Пример #1
0
 private static Task <ImmutableArray <Resource> > GatherExplicitDependenciesAsync(InputList <Resource> resources)
 => resources.ToOutput().GetValueAsync();
Пример #2
0
 public void AddRange(InputList <T> inputs)
 {
     _outputValue = Concat(inputs);
 }
Пример #3
0
 /// <summary>
 /// Concatenates the values in this list with the values in <paramref name="other"/>,
 /// returning the concatenated sequence in a new <see cref="InputList{T}"/>.
 /// </summary>
 public InputList <T> Concat(InputList <T> other)
 => Output.Concat(_outputValue, other._outputValue);
Пример #4
0
 /// <summary>
 /// Note: this is non-standard convenience for use with collection initializers.
 /// </summary>
 public void Add(InputList <T> inputs)
 {
     AddRange(inputs);
 }