Skip to main content
Namespace: Phoenix.BuilderUIClient
Assembly: Phoenix.BuilderUIClient.dll

PaczWriterFromDirectory(string, Guid, IPaczClient)

Create a new IPaczWriter by converting an existing directory.

Parameters

targetFolder string The target folder to convert. This will become the source directory for the new IPaczWriter. All the files in it will be listed as instance files. plugInId Guid The plug-in ID to set in the new component config. paczClient IPaczClient The pacz client to use when creating the pacz.

Returns

Task<IPaczWriter> A new IPaczWriter with a configuration containing the target ID and existing files in the folder as instance files.