public CityLogic(CityModel model, AdaptersExtender adaptersExtender, InteractionLogic interaction) { _model = model; _adaptersExtender = adaptersExtender; _interaction = interaction; _persons = new UpdatableCollectionLoadDecorator <PersonLogic, IPersonInfo>(RetriveAllPersons, ComparePersonsInfo, p => p.IsOnline, CreatePersonsLogic); _driverResponses = new SimpleCollectionLoadDecorator <IDriverResponse>(RetriveDriverResponses); _driverResponses.RequestFailed += DriverResponses_RequestFailed; model.AuthenticateDelegate = Authenticate; model.EnumeratePersonsDelegate = EnumeratePersons; }
public MapLogic(MapModel model, AdaptersExtender adaptersExtender, InteractionLogic interaction) { _model = model; _adaptersExtender = adaptersExtender; _interaction = interaction; }
public SettingsLogic(SettingsModel model, AdaptersExtender adaptersExtender, InteractionLogic interaction) { _model = model; _adaptersExtender = adaptersExtender; _interaction = interaction; }