public LayersListViewController(MGLStyle style, string styleOwner, string styleId) : base(null, null) { tableView = new UITableView() { DataSource = this, Delegate = this, TranslatesAutoresizingMaskIntoConstraints = false }; tableView.RegisterClassForCellReuse(typeof(UITableViewCell), "ImageCell"); tableView.RegisterClassForCellReuse(typeof(UITableViewCell), "FillCell"); tableView.RegisterClassForCellReuse(typeof(UITableViewCell), "CircleCell"); tableView.RegisterClassForCellReuse(typeof(UITableViewCell), "LineCell"); Style = style; mbService = new MapboxService(); this.styleOwner = styleOwner; this.styleId = styleId; }
public WeatherModule(IMapboxService mapbox, IWeatherService weather) { _mapbox = mapbox; _weather = weather; }