Table of Contents

Interface IContextedGenerator<TContext, TOut>

Namespace
Cryville.EEW
Assembly
Cryville.EEW.dll
Represents a generator that generates objects of a specific type from input objects, with contexts.
public interface IContextedGenerator<in TContext, out TOut> : IGenerator<TOut> where TContext : class

Type Parameters

TContext
The type of the context.
TOut
The type of the generated objects.
Inherited Members

Methods

Generate(object, TContext?, ref CultureInfo)

Generates the object.
TOut Generate(object e, TContext? context, ref CultureInfo culture)

Parameters

e object
The input object.
context TContext
The context.
culture CultureInfo
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.