如何在自定义同步提供程序中实现冲突处理? [英] How to implement conflict handling in a custom sync provider ?

查看:126
本文介绍了如何在自定义同步提供程序中实现冲突处理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始尝试使用CTP附带的一些示例,特别是ManagedNTFSProvider,以及可以单独下载的FeedSync示例。

I started playing a little bit with the some of samples that comes with the CTP, specially with the ManagedNTFSProvider, and the FeedSync sample that can be downloaded separately.

乍一看,两个示例都展示了如何实现同步提供程序的不同部分,但都没有显示处理自定义冲突解决方法的方法。 ( ConflictResolutionPolicy .ApplicationDefined)。

At first glance, both samples show how to implement different parts of the sync providers, but none of them show an approach to handle a custom conflict resolution. (ConflictResolutionPolicy.ApplicationDefined).

例如,我想向我的提供者添加一个基本UI,以便用户可以决定哪个项目是获胜者,冠军。 (我不想支持我的提供商中的自动冲突解决方案)。支持此功能的推荐方法是什么? (我的意思是,我必须覆盖哪些方法或者我必须实现哪些接口?)

For instance, I want to add a basic UI to my provider so the user can decide which item will be the winner. (I do not want to support automatic conflic resolution in my provider). What's the recommended approach to support this functionallity ?. (I mean, which methods do I have to override or which interfaces do I have to implement ?)

I我很感激有关这个主题的任何建议。

I would appreciate any advice regarding this topic.

谢谢

Pablo。

推荐答案

同样在这里。

Same here.


这篇关于如何在自定义同步提供程序中实现冲突处理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆