C# 클래스 RoslynDom.Common.StringUtilities

파일 보기 프로젝트 열기: KathleenDollard/RoslynDOM

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CamelCase ( string name ) : string
JoinString ( this stringList ) : string
NameFromQualifiedName ( string qName ) : string
NamespaceFromQualifiedName ( string qName ) : string
NormalizeWhitespace ( this input, string replaceWith = " " ) : string
PascalCase ( string name ) : string
RemoveFileHeaderComments ( string input ) : string

This method is expected to be used in testing to avoid file header comments breaking diffs

ReplaceFirst ( this input, string replace, string replaceWith ) : string
SplitLines ( this csharpCode ) : IEnumerable
SubstringAfter ( this input, string delimiter ) : string
SubstringAfterLast ( this input, string delimiter ) : string
SubstringBefore ( this input, string delimiter ) : string
SubstringBeforeLast ( this input, string delimiter ) : string

메소드 상세

CamelCase() 공개 정적인 메소드

public static CamelCase ( string name ) : string
name string
리턴 string

JoinString() 공개 정적인 메소드

public static JoinString ( this stringList ) : string
stringList this
리턴 string

NameFromQualifiedName() 공개 정적인 메소드

public static NameFromQualifiedName ( string qName ) : string
qName string
리턴 string

NamespaceFromQualifiedName() 공개 정적인 메소드

public static NamespaceFromQualifiedName ( string qName ) : string
qName string
리턴 string

NormalizeWhitespace() 공개 정적인 메소드

public static NormalizeWhitespace ( this input, string replaceWith = " " ) : string
input this
replaceWith string
리턴 string

PascalCase() 공개 정적인 메소드

public static PascalCase ( string name ) : string
name string
리턴 string

RemoveFileHeaderComments() 공개 정적인 메소드

This method is expected to be used in testing to avoid file header comments breaking diffs
public static RemoveFileHeaderComments ( string input ) : string
input string
리턴 string

ReplaceFirst() 공개 정적인 메소드

public static ReplaceFirst ( this input, string replace, string replaceWith ) : string
input this
replace string
replaceWith string
리턴 string

SplitLines() 공개 정적인 메소드

public static SplitLines ( this csharpCode ) : IEnumerable
csharpCode this
리턴 IEnumerable

SubstringAfter() 공개 정적인 메소드

public static SubstringAfter ( this input, string delimiter ) : string
input this
delimiter string
리턴 string

SubstringAfterLast() 공개 정적인 메소드

public static SubstringAfterLast ( this input, string delimiter ) : string
input this
delimiter string
리턴 string

SubstringBefore() 공개 정적인 메소드

public static SubstringBefore ( this input, string delimiter ) : string
input this
delimiter string
리턴 string

SubstringBeforeLast() 공개 정적인 메소드

public static SubstringBeforeLast ( this input, string delimiter ) : string
input this
delimiter string
리턴 string