Generic extension of the IView interface. Has a strongly typed generic association to the controller. Therefore no typecasting is required when accessing the associated controller.Namespace: MVCSharp.Core.Views
Assembly: MVCSharp (in MVCSharp.dll)
public interface IView<T> : IView where T : IController
|Visual Basic (Declaration)|
Public Interface IView(Of T As IController) _ Implements IView
generic<typename T> where T : IController public interface class IView : IView
- Specifies the expected type of the associated controller. Must be a subtype of IController
The framework knows nothing about the generic types and deals only their non-generic versions. Generic types serve only for user convenience: to provide type-safety and reduce the amount of typecasts.