 | KubeTestHelperTempFolder Method |
Creates and populates a temporary test folder with a test file.
Namespace:
Neon.Xunit.Kube
Assembly:
Neon.Xunit.Kube (in Neon.Xunit.Kube.dll) Version: 2.3.2-internal
Syntaxpublic static TempFolder TempFolder(
string filename,
string data
)
Public Shared Function TempFolder (
filename As String,
data As String
) As TempFolder
public:
static TempFolder^ TempFolder(
String^ filename,
String^ data
)
static member TempFolder :
filename : string *
data : string -> TempFolder
Parameters
- filename
- Type: SystemString
The file data. - data
- Type: SystemString
The file name
Return Value
Type:
TempFolderThe
TempFolder(String, String).
Remarks Note |
---|
Ensure that the TempFolder(String, String) returned is disposed so it and
any files within will be deleted.
|
See Also