Поделиться через


RazorViewEngineOptions.AdditionalCompilationReferences Свойство

Определение

Внимание!

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

MetadataReference Возвращает экземпляры, которые должны быть включены в компиляцию Razor, а также экземпляры, обнаруженные sMetadataReferenceFeatureProvider.

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)

Значение свойства

Атрибуты

Применяется к