Class RazorTyped<TModel>
New base class with custom model. The rest of this is identical to RazorTyped.
[PublicApi]
public abstract class RazorTyped<TModel> : RazorTyped, IHasLog
Type Parameters
TModelModel type - like
stringor a class from yourAppCode
- Inheritance
-
objectWebPageExecutingBaseWebPageRenderingBaseWebPageBaseRazorComponentBaseRazorTyped<TModel>
- Implements
- Inherited Members
Remarks
Introduced in v17.03
Properties
Model
The model for this Razor file.
Typed according to the @inherits statement.
public TModel Model { get; }
Property Value
- TModel