C# Класс MsieJavaScriptEngine.Utilities.Utils

Показать файл Открыть проект

Открытые методы

Метод Описание
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