My Model
is a generic class that contains a (for example) Value
property which can be int, float, string, bool, etc. So naturally this class is represe
As a side note, when you said:
When I expose
Model
to theView
You aren't following MVVM conventions, for whatever that's worth. In MVVM, the model itself should never be exposed to the view.
That being said, you can expose the type of T
in this way.
public Type ModelType
{
get { return typeof(T); }
}
If that suits your purposes.