public Task AddSyncComponents(IGraphMergeItemSyncContext context) { //todo: concurrent? return(_taxonomyPartGraphSyncer.AddSyncComponentsForNonLeafEmbeddedTerm(context.ContentItem.Content, context)); //todo: taxonomy isn't there yet, need to order //await _termPartGraphSyncer.AddSyncComponents(context.ContentItem.Content[_termPartGraphSyncer.PartName], context); }
public async Task AddSyncComponents(IGraphMergeItemSyncContext context) { await IteratePartSyncers(context, async (partSyncer, partContent) => await partSyncer.AddSyncComponents(partContent, context), async (partSyncer, partContent) => await partSyncer.AddSyncComponentsDetaching(context)); }
public async Task AllowSync(IGraphMergeItemSyncContext context, IAllowSync allowSync) { await IteratePartSyncers(context, async (partSyncer, partContent) => await partSyncer.AllowSync(partContent, context, allowSync), async (partSyncer, partContent) => await partSyncer.AllowSyncDetaching(context, allowSync)); }
public Task AllowSync(IGraphMergeItemSyncContext context, IAllowSync allowSync) { return(_taxonomyPartGraphSyncer.AllowSync(context.ContentItem.Content, context, allowSync)); }