public static string GetInjectableAtom(string atom, AtomTarget target) { if (!targetNames.ContainsKey(target)) { throw new ArgumentOutOfRangeException(nameof(target)); } return(GetInjectableAtom(atom, targetNames[target])); }
public void Update(AtomTarget tgt, string ticker) { if (tgt == AtomTarget.EDINET) { update("http://resource.ufocatch.com/atom/edinetx/query/" + ticker); } else if (tgt == AtomTarget.TDnet) { update("http://resource.ufocatch.com/atom/TDnetx/query/" + ticker); } }
public void Update(AtomTarget tgt) { if (tgt == AtomTarget.EDINET) { update("http://resource.ufocatch.com/atom/edinetx"); } else if (tgt == AtomTarget.TDnet) { update("http://resource.ufocatch.com/atom/TDnetx"); } }
public AtomDownloader(AtomTarget src) { Source = src; xp = new XmlProvider(); }
public void GetInjectableAtomTest(AtomType atom, AtomTarget target) { Assert.NotNull(Atom.GetInjectableAtom(atom, target)); }