Interface IGenerator<TIn, TOut>
Represents a generator that generates objects of a specific type from input objects of another specific type.
public interface IGenerator<in TIn, out TOut> : IGenerator<TOut>
Type Parameters
TIn- The type of the input objects.
TOut- The type of the generated objects.
- Inherited Members
Methods
Generate(TIn, ref CultureInfo)
Generates the object.
TOut Generate(TIn e, ref CultureInfo culture)
Parameters
eTIn- The input object.
cultureCultureInfo- The preferred culture of the generated object. When the method returns, set to the actual culture of the generated object.
Returns
- TOut
- The generated object.