A base attribute for declaring views. See example code below.
Namespace:
MVCSharp.Core.Configuration.ViewsAssembly: MVCSharp (in MVCSharp.dll)
Version: 0.8.5217.34148
Syntax
Remarks
ViewAttribute attributes are converted to ViewInfo objects
by an instance of the
MVCConfiguration.ViewInfosProviderType type.
Note that different presentation mechanisms may require different ViewAttribute descendants to declare views. For instance see WinformsViewAttribute and WebformsViewAttribute attributes.
Examples
Below we declare a view type that should be used for the MyTask.MyView
view within the MyTask task.
CopyC#

[WinformsView(typeof(MyTask), MyTask.MyView)] class MyView : IView { ... }
Inheritance Hierarchy
System..::.Object
System..::.Attribute
MVCSharp.Core.Configuration.Views..::.ViewAttribute
MVCSharp.Winforms.Configuration..::.WinformsViewAttribute
MVCSharp.Webforms.Configuration..::.WebformsViewAttribute
System..::.Attribute
MVCSharp.Core.Configuration.Views..::.ViewAttribute
MVCSharp.Winforms.Configuration..::.WinformsViewAttribute
MVCSharp.Webforms.Configuration..::.WebformsViewAttribute