SyntaxExtensions.NormalizeWhitespace Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
NormalizeWhitespace(SyntaxToken, String, Boolean)
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::SyntaxToken NormalizeWhitespace(Microsoft::CodeAnalysis::SyntaxToken token, System::String ^ indentation, bool elasticTrivia);
public static Microsoft.CodeAnalysis.SyntaxToken NormalizeWhitespace (this Microsoft.CodeAnalysis.SyntaxToken token, string indentation, bool elasticTrivia);
static member NormalizeWhitespace : Microsoft.CodeAnalysis.SyntaxToken * string * bool -> Microsoft.CodeAnalysis.SyntaxToken
<Extension()>
Public Function NormalizeWhitespace (token As SyntaxToken, indentation As String, elasticTrivia As Boolean) As SyntaxToken
Параметры
- token
- SyntaxToken
- indentation
- String
- elasticTrivia
- Boolean
Возвращаемое значение
Применяется к
NormalizeWhitespace(SyntaxToken, String, String, Boolean, Boolean)
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
public static Microsoft.CodeAnalysis.SyntaxToken NormalizeWhitespace (this Microsoft.CodeAnalysis.SyntaxToken token, string indentation = " ", string eol = "\r\n", bool elasticTrivia = false, bool useDefaultCasing = false);
static member NormalizeWhitespace : Microsoft.CodeAnalysis.SyntaxToken * string * string * bool * bool -> Microsoft.CodeAnalysis.SyntaxToken
<Extension()>
Public Function NormalizeWhitespace (token As SyntaxToken, Optional indentation As String = " ", Optional eol As String = "\r\n", Optional elasticTrivia As Boolean = false, Optional useDefaultCasing As Boolean = false) As SyntaxToken
Параметры
- token
- SyntaxToken
- indentation
- String
- eol
- String
- elasticTrivia
- Boolean
- useDefaultCasing
- Boolean
Возвращаемое значение
Применяется к
NormalizeWhitespace(SyntaxTriviaList, String, String, Boolean, Boolean)
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
public static Microsoft.CodeAnalysis.SyntaxTriviaList NormalizeWhitespace (this Microsoft.CodeAnalysis.SyntaxTriviaList trivia, string indentation = " ", string eol = "\r\n", bool elasticTrivia = false, bool useDefaultCasing = false);
static member NormalizeWhitespace : Microsoft.CodeAnalysis.SyntaxTriviaList * string * string * bool * bool -> Microsoft.CodeAnalysis.SyntaxTriviaList
<Extension()>
Public Function NormalizeWhitespace (trivia As SyntaxTriviaList, Optional indentation As String = " ", Optional eol As String = "\r\n", Optional elasticTrivia As Boolean = false, Optional useDefaultCasing As Boolean = false) As SyntaxTriviaList
Параметры
- trivia
- SyntaxTriviaList
- indentation
- String
- eol
- String
- elasticTrivia
- Boolean
- useDefaultCasing
- Boolean
Возвращаемое значение
Применяется к
NormalizeWhitespace<TNode>(TNode, Boolean, String, Boolean)
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
public:
generic <typename TNode>
where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
static TNode NormalizeWhitespace(TNode node, bool useDefaultCasing, System::String ^ indentation, bool elasticTrivia);
public static TNode NormalizeWhitespace<TNode> (this TNode node, bool useDefaultCasing, string indentation, bool elasticTrivia) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member NormalizeWhitespace : 'Node * bool * string * bool -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function NormalizeWhitespace(Of TNode As SyntaxNode) (node As TNode, useDefaultCasing As Boolean, indentation As String, elasticTrivia As Boolean) As TNode
Параметры типа
- TNode
Параметры
- node
- TNode
- useDefaultCasing
- Boolean
- indentation
- String
- elasticTrivia
- Boolean
Возвращаемое значение
TNode
Применяется к
NormalizeWhitespace<TNode>(TNode, Boolean, String, String, Boolean)
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
- Source:
- SyntaxExtensions.vb
public static TNode NormalizeWhitespace<TNode> (this TNode node, bool useDefaultCasing, string indentation = " ", string eol = "\r\n", bool elasticTrivia = false) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member NormalizeWhitespace : 'Node * bool * string * string * bool -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function NormalizeWhitespace(Of TNode As SyntaxNode) (node As TNode, useDefaultCasing As Boolean, Optional indentation As String = " ", Optional eol As String = "\r\n", Optional elasticTrivia As Boolean = false) As TNode
Параметры типа
- TNode
Параметры
- node
- TNode
- useDefaultCasing
- Boolean
- indentation
- String
- eol
- String
- elasticTrivia
- Boolean
Возвращаемое значение
TNode
Применяется к
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.