UpdateExtension(bool all, string extName, string username, string password) { if (all) { PyRevitExtensions.UpdateAllInstalledExtensions(username, password); } else if (extName != null) { PyRevitExtensions.UpdateExtension(extName, username, password); } }
UpdateExtension(bool all, string extName) { if (all) { PyRevitExtensions.UpdateAllInstalledExtensions(); } else if (extName != null) { PyRevitExtensions.UpdateExtension(extName); } }
UpdateExtension(bool all, string extName, GitInstallerCredentials credentials) { if (all) { PyRevitExtensions.UpdateAllInstalledExtensions(credentials); } else if (extName != null) { PyRevitExtensions.UpdateExtension(extName, credentials); } }