C# 클래스 OpenQA.Selenium.Internal.ResourceUtilities

Encapsulates methods for finding and extracting WebDriver resources.
파일 보기 프로젝트 열기: asynchrony/Selenium2

공개 메소드들

메소드 설명
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