语言

CompiledModelCodeGenerationOptions.ForNativeAot 属性

定义

获取或设置一个值,该值指示生成的代码是否应与 NativeAOT 兼容。

public virtual bool ForNativeAot { get; set; }
member this.ForNativeAot : bool with get, set
Public Overridable Property ForNativeAot As Boolean

属性值

一个值,该值指示生成的代码是否应与 NativeAOT 兼容。

适用于