Exemple #1
0
        private IEnumerable <string> GetFilesystemObjects(string directoryPath, string parameter)
        {
            var parameters = new Dictionary <string, dynamic> {
                { "Type", parameter }, { "Directory", directoryPath }
            };

            _scriptWrapper.RunSync(Modules.Functions.GetFiles, parameters);
            return(_scriptWrapper.Results);
        }