C# Класс SharpTuneCore.ResourceUtil

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetEmbeddedResourceStream ( string resourceName ) : Stream

Takes the full name of a resource and loads it in to a stream.

ProgramFilesx86 ( ) : string

Get the list of all emdedded resources in the assembly.

directorySearch ( string directory, string terms ) : List

Returns a List of file paths Whos names contain the search term

directorySearchRecursive ( string directory, string terms ) : List

Returns a List of file paths Whos names contain the search term

directorySearchRecursiveDir ( string directory, string terms ) : List
termSearch ( string content, string args ) : bool

Searches a string for all terms in the array

Описание методов

GetEmbeddedResourceStream() публичный статический Метод

Takes the full name of a resource and loads it in to a stream.
public static GetEmbeddedResourceStream ( string resourceName ) : Stream
resourceName string Assuming an embedded resource is a file /// called info.png and is located in a folder called Resources, it /// will be compiled in to the assembly with this fully qualified /// name: Full.Assembly.Name.Resources.info.png. That is the string /// that you should pass to this method.
Результат Stream

ProgramFilesx86() публичный статический Метод

Get the list of all emdedded resources in the assembly.
public static ProgramFilesx86 ( ) : string
Результат string

directorySearch() публичный статический Метод

Returns a List of file paths Whos names contain the search term
public static directorySearch ( string directory, string terms ) : List
directory string
terms string
Результат List

directorySearchRecursive() публичный статический Метод

Returns a List of file paths Whos names contain the search term
public static directorySearchRecursive ( string directory, string terms ) : List
directory string
terms string
Результат List

directorySearchRecursiveDir() публичный статический Метод

public static directorySearchRecursiveDir ( string directory, string terms ) : List
directory string
terms string
Результат List

termSearch() публичный статический Метод

Searches a string for all terms in the array
public static termSearch ( string content, string args ) : bool
content string
args string
Результат bool