Share via


CachedModelMetadata<TPrototypeCache>.ComputeIsReadOnly 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 value that indicates whether the model is read-only.

protected virtual bool ComputeIsReadOnly ();
abstract member ComputeIsReadOnly : unit -> bool
override this.ComputeIsReadOnly : unit -> bool
Protected Overridable Function ComputeIsReadOnly () As Boolean

Returns

A cached value that indicates whether the model is read-only.

Applies to