C# 클래스 SalarDbCodeGenerator.DbProject.Common

파일 보기 프로젝트 열기: GitOffice/SalarDbCodeGenerator

공개 메소드들

메소드 설명
AppVarPathMakeAbsolute ( string path ) : string
AppVarPathMakeRelative ( string path ) : string
GetExceptionTechMessage ( Exception ex, string seperator = null ) : string
PathMakeAbsoluteTo ( string path, string relativeTo, string relativeMarkReplacement ) : string
PathMakeRelativeTo ( string path, string relativeTo, string relativeMarkReplacement ) : string
ProjectPathMakeAbsolute ( string path, string projectPath ) : string
ProjectPathMakeRelative ( string path, string projectPath ) : string
ReplaceEx ( string original, string pattern, string replacement, System.StringComparison comparisonType ) : string

Implements fast string replacing algorithm for CS

ReplaceExIgnoreCase ( string original, string pattern, string replacement ) : string

Implements fast string replacing algorithm for CS

TryConvertBoolean ( object b, bool defValue ) : bool
TryConvertInt32 ( string number, int defValue ) : int
TryConvertInt64 ( string number, long defValue ) : long

메소드 상세

AppVarPathMakeAbsolute() 공개 정적인 메소드

public static AppVarPathMakeAbsolute ( string path ) : string
path string
리턴 string

AppVarPathMakeRelative() 공개 정적인 메소드

public static AppVarPathMakeRelative ( string path ) : string
path string
리턴 string

GetExceptionTechMessage() 공개 정적인 메소드

public static GetExceptionTechMessage ( Exception ex, string seperator = null ) : string
ex System.Exception
seperator string
리턴 string

PathMakeAbsoluteTo() 공개 정적인 메소드

public static PathMakeAbsoluteTo ( string path, string relativeTo, string relativeMarkReplacement ) : string
path string
relativeTo string
relativeMarkReplacement string
리턴 string

PathMakeRelativeTo() 공개 정적인 메소드

public static PathMakeRelativeTo ( string path, string relativeTo, string relativeMarkReplacement ) : string
path string
relativeTo string
relativeMarkReplacement string
리턴 string

ProjectPathMakeAbsolute() 공개 정적인 메소드

public static ProjectPathMakeAbsolute ( string path, string projectPath ) : string
path string
projectPath string
리턴 string

ProjectPathMakeRelative() 공개 정적인 메소드

public static ProjectPathMakeRelative ( string path, string projectPath ) : string
path string
projectPath string
리턴 string

ReplaceEx() 공개 정적인 메소드

Implements fast string replacing algorithm for CS
public static ReplaceEx ( string original, string pattern, string replacement, System.StringComparison comparisonType ) : string
original string
pattern string
replacement string
comparisonType System.StringComparison
리턴 string

ReplaceExIgnoreCase() 공개 정적인 메소드

Implements fast string replacing algorithm for CS
public static ReplaceExIgnoreCase ( string original, string pattern, string replacement ) : string
original string
pattern string
replacement string
리턴 string

TryConvertBoolean() 공개 정적인 메소드

public static TryConvertBoolean ( object b, bool defValue ) : bool
b object
defValue bool
리턴 bool

TryConvertInt32() 공개 정적인 메소드

public static TryConvertInt32 ( string number, int defValue ) : int
number string
defValue int
리턴 int

TryConvertInt64() 공개 정적인 메소드

public static TryConvertInt64 ( string number, long defValue ) : long
number string
defValue long
리턴 long