Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiApiHandler"/> class.
 /// </summary>
 public MultiApiHandler(AppData appData, IApiLoader apiLoader)
 {
     this.appData            = appData;
     this.apiLoader          = apiLoader;
     this.attachedAssetTiles = new List <IAssetTile>();
     this.ReadyApis          = new Dictionary <IApi, List <Asset> >();
 }
Ejemplo n.º 2
0
 public ImportService(
     IApiLoader apiLoader,
     IConflictResolver <ApiMaterial, Database.MaterialOverviewItem> materialConflictResolver,
     IConflictResolver <ApiSection, Database.ParametricSectionOverviewItem> sectionConflictResolver,
     IUbsmDatabase database,
     IdGenerator idGenerator,
     Settings settings)
 {
     _apiLoader = apiLoader;
     _materialConflictResolver = materialConflictResolver;
     _sectionConflictResolver  = sectionConflictResolver;
     _database    = database;
     _idGenerator = idGenerator;
     _settings    = settings;
 }