Example #1
0
 /// <summary>
 /// Creates a transformer.
 /// </summary>
 /// <param name="configuration">The transformer configuration.</param>
 /// <param name="transform">The specification to use.</param>
 /// <returns>The created transformer.</returns>
 public static Transformer Create(
     TransformerConfiguration configuration,
     Transformation transform) =>
 Create(configuration, ImmutableArray.Create(transform));
Example #2
0
 /// <summary>
 /// Adds the given transformation to the manager.
 /// </summary>
 /// <param name="transformation">The transformation to add.</param>
 public void Add(Transformation transformation)
 {
     builder.Add(transformation ??
                 throw new ArgumentNullException(nameof(transformation)));
 }