Table of Contents

Interface IContextedGenerator<TIn, TContext, TOut>

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

Type Parameters

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

Methods

Generate(TIn, TContext?, ref CultureInfo)

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

Parameters

e TIn
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.