Beispiel #1
0
        public Ativo(string ticker, Uri pathGetHtml)
        {
            this.ticker    = ticker;
            this.proventos = new List <Provento>();

            string htmlTexto = "";

            SimpleFunctions.GetHtml(pathGetHtml.AbsoluteUri + ticker, ref htmlTexto);

            _htmlDocument = new HtmlDocument();
            _htmlDocument.LoadHtml(htmlTexto);

            inicializarAtivo();
        }