Пример #1
0
 public AggregationMethodCodegenField(
     AggregationMethodForge readerForge,
     CodegenClassScope classScope,
     Type generator)
 {
     _readerForge = readerForge;
     _classScope  = classScope;
     _generator   = generator;
 }
 /// <summary>
 ///     Ctor.
 /// </summary>
 /// <param name="forge">the forge of the aggregation value reader</param>
 /// <param name="eventTypeCollection">when returning a collection of events, the event type or null if not returning a collection of events</param>
 /// <param name="componentTypeCollection">when returning a collection of object values, the type of the values or null if not returning a collection of values</param>
 /// <param name="eventTypeSingle">when returning a single event, the event type or null if not returning a single event</param>
 public AggregationMultiFunctionMethodDesc(
     AggregationMethodForge forge,
     EventType eventTypeCollection,
     Type componentTypeCollection,
     EventType eventTypeSingle)
 {
     Reader = forge;
     EventTypeCollection = eventTypeCollection;
     ComponentTypeCollection = componentTypeCollection;
     EventTypeSingle = eventTypeSingle;
 }