C# 클래스 Microsoft.R.Host.Client.RStringExtensions

파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
ConvertCharacterCodes ( this s ) : string

Convert R string that comes encoded into <U+ABCD> into Unicode characters so user can see actual language symbols rather than the character codes. Trims trailing '| __truncated__' that R tends to append at the end.

EnsureLineBreak ( this s ) : string
FromRPath ( this s ) : string
FromRStringLiteral ( this s ) : string
ProjectRelativePathToRemoteProjectPath ( this path, string remoteRoot, string projectName ) : string
ToRBooleanLiteral ( this b ) : string
ToRName ( this s ) : string
ToRPath ( this s ) : string
ToRStringLiteral ( this s, char quote = '"', string nullValue = "NULL" ) : string
ToUnicodeQuotes ( this s ) : string

Converts fancy quotes specified in the Unicode control range specifically, 0x91-0x94 to visible quotes. These are 'respectively are left/right single quotes and left/right double quotes. Example: https://everythingfonts.com/unicode/0x0091.

비공개 메소드들

메소드 설명
HexCharToDecimal ( char c, int &val ) : bool

메소드 상세

ConvertCharacterCodes() 공개 정적인 메소드

Convert R string that comes encoded into <U+ABCD> into Unicode characters so user can see actual language symbols rather than the character codes. Trims trailing '| __truncated__' that R tends to append at the end.
public static ConvertCharacterCodes ( this s ) : string
s this
리턴 string

EnsureLineBreak() 공개 정적인 메소드

public static EnsureLineBreak ( this s ) : string
s this
리턴 string

FromRPath() 공개 정적인 메소드

public static FromRPath ( this s ) : string
s this
리턴 string

FromRStringLiteral() 공개 정적인 메소드

public static FromRStringLiteral ( this s ) : string
s this
리턴 string

ProjectRelativePathToRemoteProjectPath() 공개 정적인 메소드

public static ProjectRelativePathToRemoteProjectPath ( this path, string remoteRoot, string projectName ) : string
path this
remoteRoot string
projectName string
리턴 string

ToRBooleanLiteral() 공개 정적인 메소드

public static ToRBooleanLiteral ( this b ) : string
b this
리턴 string

ToRName() 공개 정적인 메소드

public static ToRName ( this s ) : string
s this
리턴 string

ToRPath() 공개 정적인 메소드

public static ToRPath ( this s ) : string
s this
리턴 string

ToRStringLiteral() 공개 정적인 메소드

public static ToRStringLiteral ( this s, char quote = '"', string nullValue = "NULL" ) : string
s this
quote char
nullValue string
리턴 string

ToUnicodeQuotes() 공개 정적인 메소드

Converts fancy quotes specified in the Unicode control range specifically, 0x91-0x94 to visible quotes. These are 'respectively are left/right single quotes and left/right double quotes. Example: https://everythingfonts.com/unicode/0x0091.
public static ToUnicodeQuotes ( this s ) : string
s this
리턴 string