Method ExtractAssemblies
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
ExtractAssemblies(string, IEnumerable<string>)
Extracts the assemblies that should be included in the package.
public IEnumerable<(string assemblyFilePath, string destinationFolderPath)> ExtractAssemblies(string scriptFilePath, IEnumerable<string> dllFilesPath)
Parameters
scriptFilePath
stringScript file path.
dllFilesPath
IEnumerable<string>The folder containing the assemblies.
Returns
- IEnumerable<(string assemblyFilePath, string destinationFolderPath)>
The assemblies that should be included.
ExtractAssemblies(byte[], IEnumerable<string>)
Extracts the assemblies that should be included in the package.
public IEnumerable<(string assemblyFilePath, string destinationFolderPath)> ExtractAssemblies(byte[] scriptContent, IEnumerable<string> dllFilesPath)
Parameters
scriptContent
byte[]The script.
dllFilesPath
IEnumerable<string>The folder containing the assemblies.
Returns
- IEnumerable<(string assemblyFilePath, string destinationFolderPath)>
The assemblies that should be included.
Exceptions
- ArgumentNullException
scriptContent
is null.