CachedModelMetadata<TPrototypeCache>.ComputeTemplateHint Method

Definition

This method is protected and therefore cannot be called directly. This method was designed to be overridden in a deriving class such as CachedDataAnnotationsModelMetadata.Gets or sets a cached hint that suggests what template to use for this model.

protected virtual string ComputeTemplateHint ();
abstract member ComputeTemplateHint : unit -> string
override this.ComputeTemplateHint : unit -> string
Protected Overridable Function ComputeTemplateHint () As String

Returns

A cached hint that suggests what template to use for this model.

Applies to