C# 클래스 MsieJavaScriptEngine.Utilities.Utils

파일 보기 프로젝트 열기: Taritsyn/MsieJavaScriptEngine

공개 메소드들

메소드 설명
GetFileTextContent ( string path, Encoding encoding = null ) : string

Gets a text content of the specified file

GetResourceAsString ( string resourceName, Assembly assembly ) : string

Gets a content of the embedded resource as string

GetResourceAsString ( string resourceName, Type type ) : string

Gets a content of the embedded resource as string

비공개 메소드들

메소드 설명
InnerGetResourceAsString ( string resourceName, Assembly assembly ) : string
Is64BitProcess ( ) : bool

메소드 상세

GetFileTextContent() 공개 정적인 메소드

Gets a text content of the specified file
public static GetFileTextContent ( string path, Encoding encoding = null ) : string
path string File path
encoding System.Text.Encoding Content encoding
리턴 string

GetResourceAsString() 공개 정적인 메소드

Gets a content of the embedded resource as string
public static GetResourceAsString ( string resourceName, Assembly assembly ) : string
resourceName string The case-sensitive resource name
assembly System.Reflection.Assembly The assembly, which contains the embedded resource
리턴 string

GetResourceAsString() 공개 정적인 메소드

Gets a content of the embedded resource as string
public static GetResourceAsString ( string resourceName, Type type ) : string
resourceName string The case-sensitive resource name without the namespace of the specified type
type System.Type The type, that determines the assembly and whose namespace is used to scope /// the resource name
리턴 string