I am trying to convert the following C# code to VB:
private readonly StockTicker _stockTicker;
public StockTickerHub() : this(StockTicker.Instance) { }
public StockTickerHub(StockTicker stockTicker)
{
_stockTicker = stockTicker;
}
public IEnumerable<Stock> GetAllStocks()
{
return _stockTicker.GetAllStocks();
}
I pretty much got it figure out, except for this one line:
public StockTickerHub() : this(StockTicker.Instance) { }
Does anyone have an idea how to convert this line to VB?