绑定转换器的一切? [英] binding converter for everything?

查看:60
本文介绍了绑定转换器的一切?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哇,所以我对定制设计师感到沮丧.我不断收到与从字符串到inArgument< string>的值的类型转换有关的错误.

我可以通过编写所有内容的转换器来解决此问题,但这似乎是解决问题的唯一方法
除了为每个InArgument< type>编写转换器之外,还有没有更简单的方法?

------------------ ---------
工作流程设计器
---------------------------
类型'System.String'的对象不能转换为类型'System.Activities.InArgument`1 [System.String]'.
------------------ ---------
OK
---------------------------


Matthew Christopher

Wow so I am getting frustrated with the custom designers.  I keep getting errors related to type cast of values from string to inArgument<string>.

I can get around this by writing a converter for everything, but it seems that this is the ONLY way to get around it.
Is there an easier way other than to write converters for every single InArgument<type>?

---------------------------
Workflow Designer
---------------------------
Object of type 'System.String' cannot be converted to type 'System.Activities.InArgument`1[System.String]'.
---------------------------
OK  
---------------------------


Matthew Christopher

推荐答案

您可以在这里看看是否有帮助:

http://blogs.msdn.com/cathyk/archive/2009/11/12/expressiontextbox- 101.aspx

,谢谢,
库什尔.
Can you take a look here and see if it helps:

http://blogs.msdn.com/cathyk/archive/2009/11/12/expressiontextbox-101.aspx

Thanks,
Kushal.


这篇关于绑定转换器的一切?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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