Assembly: Phoenix.BuilderUIClient.dll
PaczWriterFromFiles(IEnumerable<string>, string, Guid, IPaczClient)
Create a new IPaczWriter by importing a list of files.Parameters
fileRelativePaths IEnumerable<string>
The paths of the files to copy.
These should be actual files relative to baseDir.
No paths in this should attempt to traverse up a directory.
baseDir string
The base directory for fileRelativePaths
plugInId Guid
The plug-in ID to set in the new component configuration.
paczClient IPaczClient
The Pacz client to use when creating the new Pacz.
Returns
Task<IPaczWriter> A new IPaczWriter with the specified files listed as instance files. The IPaczWriter will not have a source location (will not actually be saved).Exceptions
InvalidOperationException If any of the files infileRelativePaths attempt to traverse up a directory.