コード例 #1
0
 public ApplicationService(
     IApplicationStore appStore,
     IChangeLogService changeLogService,
     IApplicationPartDataLoader applicationPartByIdDataLoader,
     IApplicationPartComponentDataLoader applicationPartComponentByIdDataloader,
     IComponentStore compStore,
     IDataLoader <Guid, Component> componentById,
     ISchemaService schemaService)
 {
     _appStore         = appStore;
     _changeLogService = changeLogService;
     _applicationPartByIdDataLoader           = applicationPartByIdDataLoader;
     _applicationPartByIdDataloaderDataLoader = applicationPartComponentByIdDataloader;
     _compStore     = compStore;
     _schemaService = schemaService;
     _componentById = componentById;
 }
コード例 #2
0
 public static Task <ApplicationPart?> GetApplicationPartAsync(
     Guid id,
     IApplicationPartDataLoader applicationPartById,
     CancellationToken cancellationToken) =>
 applicationPartById.LoadAsync(id, cancellationToken);