public BCodeLegacyExecutor(BuffettCodeApiVersion version) { resolver = LegacyDataTypeResolver.GetInstance(version); fetcher = new ApiResourceFetcher(version); }
public static TickerPiriodParameterBuilder CreateForTest(ApiResourceFetcher fetcher, Dictionary <string, FiscalQuarterPeriod> latestFiscalQuarters) => new TickerPiriodParameterBuilder(fetcher, latestFiscalQuarters);
private TickerPiriodParameterBuilder(ApiResourceFetcher fetcher, Dictionary <string, FiscalQuarterPeriod> latestFiscalQuarters) { this.fetcher = fetcher; this.latestFiscalQuarters = latestFiscalQuarters; }
public static TickerPiriodParameterBuilder Create(ApiResourceFetcher fetcher) => new TickerPiriodParameterBuilder(fetcher, new Dictionary <string, FiscalQuarterPeriod>());
public BCodeExecutor(BuffettCodeApiVersion version) { fetcher = new ApiResourceFetcher(version); builder = TickerPiriodParameterBuilder.Create(fetcher); }