在c sharp中实现MVC时,必须添加任何命名空间吗? [英] While implementing the MVC in c sharp,have to add any namespace?

查看:56
本文介绍了在c sharp中实现MVC时,必须添加任何命名空间吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发应用程序,需要使用MVC架构。我从未听说过MVC。阅读以下链接文章。

模型 - 视图 - 控制器(MVC)模式与C#/ WinForms [ ^ ]

但是混淆了

使用WinformMVC.Model

这是任何命名空间吗?

I am developing application and need to use MVC architecture.I Never heard about MVC.Read the below link article.
The Model-View-Controller(MVC) Pattern with C#/WinForms[^]
But Confused with
Using WinformMVC.Model
is this any namespace??

推荐答案

如果你下载了来自该文章的源代码示例,并检查它,你会看到它在不同的NameSpaces中定义了几个类:



WinFormMVC.Controller

WinFormMVC.Model

WinFormMVC.View



这些都是由文章作者创建的。



没有特殊的.NET库为W提供MVC FrameWork通知。您可以在CP上找到有关WinForms具有不同MVC或MVP实现的其他文章。
If you download the source code sample from that article, and examine it, you'll see that it defines several Classes in different NameSpaces:

WinFormMVC.Controller
WinFormMVC.Model
WinFormMVC.View

These are all created by the author of the article.

There is no special .NET Library that provides an MVC FrameWork for WinForms. You can find other articles on CP that have different MVC or MVP implementations for WinForms.


这篇关于在c sharp中实现MVC时,必须添加任何命名空间吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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