public static DynamoInstallSpec CreateFromPath(string binPath, string corefile, IEnumerable<string> additionalFilePaths) { var spec = new DynamoInstallSpec() { DynamoVersion = DynamoCoreVersion.FromPath(binPath, corefile) }; var dir = new DirectoryInfo(spec.DynamoVersion.BaseDirectory); spec.Modules = spec.GetModules(dir).ToList(); spec.Modules.AddRange(spec.GetModules(additionalFilePaths)); return spec; }
public static DynamoInstallSpec CreateFromPath(string binPath, string corefile, IEnumerable <string> additionalFilePaths) { var spec = new DynamoInstallSpec() { DynamoVersion = DynamoCoreVersion.FromPath(binPath, corefile) }; var dir = new DirectoryInfo(spec.DynamoVersion.BaseDirectory); spec.Modules = spec.GetModules(dir).ToList(); spec.Modules.AddRange(spec.GetModules(additionalFilePaths)); return(spec); }
public static DynamoInstallSpec CreateFromPath(string binPath, string corefile) { var spec = new DynamoInstallSpec() { DynamoVersion = DynamoCoreVersion.FromPath(binPath, corefile) }; var dir = new DirectoryInfo(spec.DynamoVersion.BaseDirectory); spec.Modules = spec.GetModules(dir).ToList(); return spec; }
public static DynamoInstallSpec CreateFromPath(string binPath) { var spec = new DynamoInstallSpec() { DynamoVersion = DynamoCoreVersion.FromPath(binPath) }; var dir = new DirectoryInfo(spec.DynamoVersion.BaseDirectory); spec.Modules = spec.GetModules(dir).ToList(); return(spec); }