public ResponsiveOptionsBuilder( IApplicationBuilder applicationBuilder, IViewLocation defaultHandler) { ApplicationBuilder = applicationBuilder ?? throw new ArgumentNullException(nameof(applicationBuilder)); DefaultHandler = defaultHandler ?? throw new ArgumentNullException(nameof(applicationBuilder)); ServiceProvider = ApplicationBuilder.ApplicationServices; }
public PresenterLocationEdit(IViewLocation inView, int inLocationIndex) : base(inView) { _locationIndex = inLocationIndex; Location location = LocationRepository.GetInstance().GetLocation(inLocationIndex); // set location details on view _view.LocationName = location.Name; _view.Latitude = location.Coordinates.Latitude.ToString(); _view.Longitude = location.Coordinates.Longitude.ToString(); _view.Depth = location.Depth.ToString(); _view.Comment = location.Comment; _view.SetFinishButtonText("Save changes"); }
public PresenterLocationAdd(IViewLocation inView) : base(inView) { }
public NavigationService(IViewLocation viewLocator) { _viewLocator = viewLocator; ViewController = new RootViewController(); }
public YGLService(IViewLocation viewLocator) : base(viewLocator) { }
public PresenterLocation(IViewLocation inView) { _view = inView; }
public ViewController(IViewLocation viewLocator) { _viewLocator = viewLocator; }