28 namespace Ntp.Analyzer.Export
45 private readonly
string path;
51 public string ConfigValue {
get; }
53 public override string Link => JoinPath(value, prefix);
55 public override string Value => value;
57 public override string Location => path;
59 public override string AbsoluteLocation => JoinPath(basePath.
FilePath, path, prefix);
61 public override void Test()
63 TestFile($
"{AbsoluteLocation}configtest",
"DirectoryStreamDestinationTest");
68 string file = AbsoluteLocation + Param;
69 PrepareFile(file, log);
70 WriteFile(stream, file, log);
71 ApplyPermissions(file, log);
76 basePath = pathProvider;
override void Write(Stream stream, LogBase log)
DirectoryStreamDestination(string path, string prefix)
Initializes a new instance of the DirectoryStreamDestination class.
void SetPath(IPathProvider pathProvider)