public BCodeLegacyExecutor(BuffettCodeApiVersion version)
 {
     resolver = LegacyDataTypeResolver.GetInstance(version);
     fetcher  = new ApiResourceFetcher(version);
 }
示例#2
0
 public static TickerPiriodParameterBuilder CreateForTest(ApiResourceFetcher fetcher, Dictionary <string, FiscalQuarterPeriod> latestFiscalQuarters) => new TickerPiriodParameterBuilder(fetcher, latestFiscalQuarters);
示例#3
0
 private TickerPiriodParameterBuilder(ApiResourceFetcher fetcher, Dictionary <string, FiscalQuarterPeriod> latestFiscalQuarters)
 {
     this.fetcher = fetcher;
     this.latestFiscalQuarters = latestFiscalQuarters;
 }
示例#4
0
 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);
 }