RazorViewEngineOptions.AdditionalCompilationReferences 属性

定义

注意

This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.

MetadataReference获取应包含在 Razor 编译中的实例,以及 由 MetadataReferenceFeatureProvider发现的实例。

public:
 property System::Collections::Generic::IList<Microsoft::CodeAnalysis::MetadataReference ^> ^ AdditionalCompilationReferences { System::Collections::Generic::IList<Microsoft::CodeAnalysis::MetadataReference ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference> AdditionalCompilationReferences { get; }
[System.Obsolete("This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.")]
public System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference> AdditionalCompilationReferences { get; }
member this.AdditionalCompilationReferences : System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference>
[<System.Obsolete("This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.")>]
member this.AdditionalCompilationReferences : System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference>
Public ReadOnly Property AdditionalCompilationReferences As IList(Of MetadataReference)

属性值

属性

适用于