用c#在asp.net中重构 [英] Refactoring in asp.net with c#

查看:78
本文介绍了用c#在asp.net中重构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好......

我有一个名为UserVO的类我在哪里创建了一些变量并通过Refactor创建方法 - > Encapsulate方法...我在该类中添加了一个新字段并使用'Refactor'属性创建了set和get方法。我的问题是当我在我的aspx页面中为这个类创建了对象时,我能够在输入objectname和dot之后得到所有字段。但是新添加的字段不存在在那个列表..不知道问题在哪里..任何人都可以帮助这个Refactor和Encapsulate领域...在此先感谢..

Hi Everyone...
I have a class by name UserVO Where I created some variables and created methods by Refactor-->Encapsulate method...I added one new field to that class and created set and get methods using 'Refactor' property..My problem is when I created object for this class in my aspx page I am able to get all fields once I type objectname and dot..But the newly added field is not there in that list..Dont know where the problem is..can anyone help with this Refactor and Encapsulate field...Thanks in advance..

推荐答案

已发布删除从未答复的清单。请参阅评论。



重建项目解决了OP的问题。
Posted to remove from unanswered list. See the comments.

Rebuilding the project solved the OP's issue.


这篇关于用c#在asp.net中重构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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