Example #1
0
        public static IRatesDataGetter Get(SourcesEnum source)
        {
            switch (source)
            {
            case SourcesEnum.PrivatBank:
                return(new PBRatesDataGetter());

            default:
                return(null);
            }
        }
Example #2
0
 public IHqSourceManager GetSpurce(SourcesEnum source) => _sources[source];