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


SyntaxFactory.TriviaList Метод

Определение

Перегрузки

TriviaList()

Создает пустой список мелочей.

TriviaList(SyntaxTrivia)

Создает одноэлементный список тривии.

TriviaList(SyntaxTrivia[])

Создает список мелочей.

TriviaList(IEnumerable<SyntaxTrivia>)

Создает список мелочей.

TriviaList()

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Создает пустой список мелочей.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList();
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList ();
static member TriviaList : unit -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList () As SyntaxTriviaList

Возвращаемое значение

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

TriviaList(SyntaxTrivia)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Создает одноэлементный список тривии.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(Microsoft::CodeAnalysis::SyntaxTrivia trivia);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (Microsoft.CodeAnalysis.SyntaxTrivia trivia);
static member TriviaList : Microsoft.CodeAnalysis.SyntaxTrivia -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (trivia As SyntaxTrivia) As SyntaxTriviaList

Параметры

trivia
SyntaxTrivia

Одна мелочь.

Возвращаемое значение

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

TriviaList(SyntaxTrivia[])

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Создает список мелочей.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(... cli::array <Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivias);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (params Microsoft.CodeAnalysis.SyntaxTrivia[] trivias);
static member TriviaList : Microsoft.CodeAnalysis.SyntaxTrivia[] -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (ParamArray trivias As SyntaxTrivia()) As SyntaxTriviaList

Параметры

trivias
SyntaxTrivia[]

Массив тривии.

Возвращаемое значение

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

TriviaList(IEnumerable<SyntaxTrivia>)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Создает список мелочей.

public:
 static Microsoft::CodeAnalysis::SyntaxTriviaList TriviaList(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivias);
public static Microsoft.CodeAnalysis.SyntaxTriviaList TriviaList (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivias);
static member TriviaList : seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Shared Function TriviaList (trivias As IEnumerable(Of SyntaxTrivia)) As SyntaxTriviaList

Параметры

trivias
IEnumerable<SyntaxTrivia>

Последовательность мелочей.

Возвращаемое значение

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