C# Класс OpenQA.Selenium.Internal.ResourceUtilities

Encapsulates methods for finding and extracting WebDriver resources.
Показать файл Открыть проект

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

Метод Описание
GetResourceStream ( string fileName, string resourceId ) : Stream

Gets a Stream that contains the resource to use.

The GetResourceStream method searches for the specified resource using the following algorithm:

In the same directory as the calling assembly. In the full path specified by the fileName argument. Inside the calling assembly as an embedded resource.

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

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

Gets a Stream that contains the resource to use.
The GetResourceStream method searches for the specified resource using the following algorithm:

In the same directory as the calling assembly. In the full path specified by the fileName argument. Inside the calling assembly as an embedded resource.

Thrown if neither the file nor the embedded resource can be found.
public static GetResourceStream ( string fileName, string resourceId ) : Stream
fileName string A file name in the file system containing the resource to use.
resourceId string A string representing the resource name embedded in the /// executing assembly, if it is not found in the file system.
Результат Stream