MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingCurrent­Directory­AttributeCurrent­Directory­Attribute
Open sandboxFocus

CurrentDirectoryAttribute Constructor

CurrentDirectoryAttribute(String, String)

Initializes a new instance of the CurrentDirectoryAttribute class.

Declaration
public CurrentDirectoryAttribute(string subdirectory = null, string callerPath = null)
Parameters
Type Name Description
System.String subdirectory

Optionally, the directory containing the tests to execute, relatively to the directory of the caller source file.

System.String callerPath