示例#1
0
 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);
 }
示例#2
0
 public async Task AddSyncComponents(IGraphMergeItemSyncContext context)
 {
     await IteratePartSyncers(context,
                              async (partSyncer, partContent) => await partSyncer.AddSyncComponents(partContent, context),
                              async (partSyncer, partContent) => await partSyncer.AddSyncComponentsDetaching(context));
 }
示例#3
0
 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));
 }
示例#4
0
 public Task AllowSync(IGraphMergeItemSyncContext context, IAllowSync allowSync)
 {
     return(_taxonomyPartGraphSyncer.AllowSync(context.ContentItem.Content, context, allowSync));
 }