public Asset ( string name, string fileContents ) : void | ||
name | string | |
fileContents | string | |
return | void |
public void Asset(string name, string fileContents)
{
var path = Path.Combine(_directory, name);
File.WriteAllText(path, fileContents);
}
}
protected override void configure(FileScenarioDefinition scenario) { scenario.Asset(BaseFileName, BaseContents); }