다음을 통해 공유


SyntaxExtensions.NormalizeWhitespace 메서드

정의

오버로드

NormalizeWhitespace(SyntaxToken, String, Boolean)

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 토큰을 만듭니다.

NormalizeWhitespace(SyntaxTriviaList, String, Boolean)

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 퀴즈 목록을 만듭니다.

NormalizeWhitespace(SyntaxToken, String, String, Boolean)

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 토큰을 만듭니다.

NormalizeWhitespace(SyntaxTriviaList, String, String, Boolean)

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 퀴즈 목록을 만듭니다.

NormalizeWhitespace(SyntaxToken, String, Boolean)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 토큰을 만듭니다.

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

true이면 대체된 퀴즈가 탄력적 퀴즈입니다.

반환

적용 대상

NormalizeWhitespace(SyntaxTriviaList, String, Boolean)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 퀴즈 목록을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::SyntaxTriviaList NormalizeWhitespace(Microsoft::CodeAnalysis::SyntaxTriviaList list, System::String ^ indentation, bool elasticTrivia);
public static Microsoft.CodeAnalysis.SyntaxTriviaList NormalizeWhitespace (this Microsoft.CodeAnalysis.SyntaxTriviaList list, string indentation, bool elasticTrivia);
static member NormalizeWhitespace : Microsoft.CodeAnalysis.SyntaxTriviaList * string * bool -> Microsoft.CodeAnalysis.SyntaxTriviaList
<Extension()>
Public Function NormalizeWhitespace (list As SyntaxTriviaList, indentation As String, elasticTrivia As Boolean) As SyntaxTriviaList

매개 변수

list
SyntaxTriviaList

정규화할 퀴즈 목록입니다.

indentation
String

단일 수준의 들여쓰기를 정의하는 공백 문자 시퀀스입니다.

elasticTrivia
Boolean

true이면 대체된 퀴즈가 탄력적 퀴즈입니다.

반환

적용 대상

NormalizeWhitespace(SyntaxToken, String, String, Boolean)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 토큰을 만듭니다.

public static Microsoft.CodeAnalysis.SyntaxToken NormalizeWhitespace (this Microsoft.CodeAnalysis.SyntaxToken token, string indentation = "    ", string eol = "\r\n", bool elasticTrivia = false);
static member NormalizeWhitespace : Microsoft.CodeAnalysis.SyntaxToken * string * string * 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) As SyntaxToken

매개 변수

token
SyntaxToken

정규화할 토큰입니다.

indentation
String

단일 수준의 들여쓰기를 정의하는 공백 문자의 선택적 시퀀스입니다.

eol
String

줄 끝에 사용되는 공백 문자의 선택적 시퀀스입니다.

elasticTrivia
Boolean

true이면 대체된 퀴즈가 탄력적 퀴즈입니다.

반환

적용 대상

NormalizeWhitespace(SyntaxTriviaList, String, String, Boolean)

Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs
Source:
SyntaxExtensions.cs

모든 공백 및 줄 끝 퀴즈가 정기적으로 서식이 지정된 퀴즈로 대체된 새 구문 퀴즈 목록을 만듭니다.

public static Microsoft.CodeAnalysis.SyntaxTriviaList NormalizeWhitespace (this Microsoft.CodeAnalysis.SyntaxTriviaList list, string indentation = "    ", string eol = "\r\n", bool elasticTrivia = false);
static member NormalizeWhitespace : Microsoft.CodeAnalysis.SyntaxTriviaList * string * string * bool -> Microsoft.CodeAnalysis.SyntaxTriviaList
<Extension()>
Public Function NormalizeWhitespace (list As SyntaxTriviaList, Optional indentation As String = "    ", Optional eol As String = "\r\n", Optional elasticTrivia As Boolean = false) As SyntaxTriviaList

매개 변수

list
SyntaxTriviaList

정규화할 퀴즈 목록입니다.

indentation
String

단일 수준의 들여쓰기를 정의하는 공백 문자의 선택적 시퀀스입니다.

eol
String

줄 끝에 사용되는 공백 문자의 선택적 시퀀스입니다.

elasticTrivia
Boolean

true이면 대체된 퀴즈가 탄력적 퀴즈입니다.

반환

적용 대상