转换列表中的对象<> [英] convert object in list <>

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

问题描述

我在我的应用程序中推出多卡支付选项意味着用户可以同时使用不同的2张卡支付。

之前只有一张卡,然后卡片详细信息的对象是简单属性。

有各种应用程序使用相同的对象获取卡片详细信息

如果我在现有方法中进行了更改,则转换对象在列表中<>然后其他应用程序将崩溃。



我可以为这种情况做更好的方法。

即使我不能创造新的用于此目的的对象。

然后我将如何更改此对象。

请建议更好的方法。



提前致谢!!!

I am prodiving multi card payment option in my application means a user can pay from different-2 card at same time.
previously it was for only one card then object for Card Details was simple property .
there is various application using same object for card details
if i made changes in existing means convert object in list <> then others application will be crashed.

What will be better approach that i can do for this scenario.
Even i can not create new object for this purpose.
then how i will be change for this object.
kindly suggest better approach.

Thanks in advance !!!

推荐答案

您必须再次从用户的另一张卡片详细信息重复交易。然后您必须为此设置属性同样的对象。所以对象将保持不变,其他应用程序不会崩溃。据我了解你的问题。
You will have to repeat the transaction once again from user another card details.then you will have to set the property for the same object again. so the object will remain same and no other application will crash. as i understand your question.


这篇关于转换列表中的对象&lt;&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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