SourceFileResolver 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SourceFileResolver(IEnumerable<String>, String) | |
SourceFileResolver(ImmutableArray<String>, String) | |
SourceFileResolver(ImmutableArray<String>, String, ImmutableArray<KeyValuePair<String,String>>) |
SourceFileResolver(IEnumerable<String>, String)
public:
SourceFileResolver(System::Collections::Generic::IEnumerable<System::String ^> ^ searchPaths, System::String ^ baseDirectory);
public SourceFileResolver (System.Collections.Generic.IEnumerable<string> searchPaths, string baseDirectory);
public SourceFileResolver (System.Collections.Generic.IEnumerable<string> searchPaths, string? baseDirectory);
new Microsoft.CodeAnalysis.SourceFileResolver : seq<string> * string -> Microsoft.CodeAnalysis.SourceFileResolver
Public Sub New (searchPaths As IEnumerable(Of String), baseDirectory As String)
參數
- searchPaths
- IEnumerable<String>
- baseDirectory
- String
適用於
SourceFileResolver(ImmutableArray<String>, String)
public:
SourceFileResolver(System::Collections::Immutable::ImmutableArray<System::String ^> searchPaths, System::String ^ baseDirectory);
public SourceFileResolver (System.Collections.Immutable.ImmutableArray<string> searchPaths, string baseDirectory);
public SourceFileResolver (System.Collections.Immutable.ImmutableArray<string> searchPaths, string? baseDirectory);
new Microsoft.CodeAnalysis.SourceFileResolver : System.Collections.Immutable.ImmutableArray<string> * string -> Microsoft.CodeAnalysis.SourceFileResolver
Public Sub New (searchPaths As ImmutableArray(Of String), baseDirectory As String)
參數
- searchPaths
- ImmutableArray<String>
- baseDirectory
- String
適用於
SourceFileResolver(ImmutableArray<String>, String, ImmutableArray<KeyValuePair<String,String>>)
public:
SourceFileResolver(System::Collections::Immutable::ImmutableArray<System::String ^> searchPaths, System::String ^ baseDirectory, System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> pathMap);
public SourceFileResolver (System.Collections.Immutable.ImmutableArray<string> searchPaths, string baseDirectory, System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,string>> pathMap);
public SourceFileResolver (System.Collections.Immutable.ImmutableArray<string> searchPaths, string? baseDirectory, System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,string>> pathMap);
new Microsoft.CodeAnalysis.SourceFileResolver : System.Collections.Immutable.ImmutableArray<string> * string * System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.CodeAnalysis.SourceFileResolver
Public Sub New (searchPaths As ImmutableArray(Of String), baseDirectory As String, pathMap As ImmutableArray(Of KeyValuePair(Of String, String)))
參數
- searchPaths
- ImmutableArray<String>
- baseDirectory
- String
- pathMap
- ImmutableArray<KeyValuePair<String,String>>