实施MVP设计模式??? [英] Implementing MVP desing pattern???
本文介绍了实施MVP设计模式???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
一段时间后我从GOF设计模式网站购买了完整的解决方案。
Some time back i bought complete solution from GOF design pattern site.
现在我试图阻止MVP在了解了一下并看到他们的例子之后。
Now i am trying to impelement MVP after understanding a bit and seeing their example.
现在我陷入了一种情况。
Now i am stuck in one situation.
在模型部分我有一个IModle(接口)
In Model Section i have a IModle (interface)
public interface IModel
{
void Login(string userName, string password);
void Logout();
IList<PatientModelBo> GetPatients();
PatientModelBo GetPatient(int patientid);
int AddPatient(PatientModelBo patient);
int UpdatePatient(PatientModelBo patient);
}
推荐答案
你能解释视图的组成方式吗?
Can you explain how the view is composed?
这篇关于实施MVP设计模式???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文