/// <summary> /// Constructor /// </summary> /// <param name="dynamoViewModel"></param> /// <param name="model"></param> /// <param name="address"></param> public PackageManagerViewModel(IPackageManagerCommands packageCommands, string address) { PkgMgrCommands = packageCommands; this.Loader = PkgMgrCommands.Loader; this.Model = PkgMgrCommands.Model; Client = new DynamoPackagesUIClient(); var path = this.GetType().Assembly.Location; var config = ConfigurationManager.OpenExeConfiguration(path); this.Address = PACKAGE_MANAGER_URL + "/#/" + address; }