Class ProducerFactory
- Namespace
- Fluxzy.Formatters
- Assembly
- Fluxzy.Core.dll
public class ProducerFactory
- Inheritance
-
ProducerFactory
- Inherited Members
-
Constructors
public ProducerFactory(IArchiveReaderProvider archiveReaderProvider, FormatSettings formatSettings)
Parameters
archiveReaderProvider
IArchiveReaderProvider
formatSettings
FormatSettings
Methods
GetProducerContext(int)
public Task<ProducerContext?> GetProducerContext(int exchangeId)
Parameters
exchangeId
int
Returns
- Task<ProducerContext>
GetRequestFormattedResults(int, ProducerContext)
public IEnumerable<FormattingResult> GetRequestFormattedResults(int exchangeId, ProducerContext formattingProducerContext)
Parameters
exchangeId
int
formattingProducerContext
ProducerContext
Returns
- IEnumerable<FormattingResult>
GetResponseFormattedResults(int, ProducerContext)
public IEnumerable<FormattingResult> GetResponseFormattedResults(int exchangeId, ProducerContext formattingProducerContext)
Parameters
exchangeId
int
formattingProducerContext
ProducerContext
Returns
- IEnumerable<FormattingResult>