I have a Dynamics CRM plugin I'm trying to debug in Linqpad. I can reference my plugin assembly but it requires an ITracingService object. Can I create one and set its output location to the console?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You implement the ITracingService
interface on a class.
public class NullCrmTracingService : ITracingService
{
public void Trace(string format, params object[] args)
{
//do nothing
}
}