public static void Continue()
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     if (dg != null)
     {
         dg.Continue();
     }
 }
        public static bool IsPluginUpdateRequired(string name)
        {
            Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
            if (dg == null)
            {
                return(false);
            }

            KitsObject found = dg.LatestAvailableKitVersions().Find(
                k => k.Name.Equals(name, System.StringComparison.OrdinalIgnoreCase)
                );

            return(found != null && new System.Version(found.MinimumPluginVersion) > Fabric.Internal.Editor.Info.Version);
        }
        public static bool IsKitUpdateAvailable(string name, System.Version installedVersion)
        {
            Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
            if (dg == null)
            {
                return(false);
            }

            KitsObject found = dg.LatestAvailableKitVersions().Find(
                k => k.Name.Equals(name, System.StringComparison.OrdinalIgnoreCase)
                );

            return(found != null && new System.Version(found.Version) > installedVersion);
        }
 public static HashSet <VersionedDependency> TransitiveDependencyChainFor(string kit)
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?Dependency.DependencyGraphManager.TransitiveDependencyChainFor(dg.GraphObject(), kit) : new HashSet <VersionedDependency> ());
 }
 public static PluginObject PluginDescriptor()
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?dg.PluginDescriptor() : null);
 }
 public static KitsList LatestAvailableOnboardableKitVersions()
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?dg.LatestAvailableOnboardableKitVersions() : new KitsList());
 }
 public static System.Version LatestAvailablePluginVersion()
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?dg.LatestAvailablePluginVersion() : Fabric.Internal.Editor.Info.Version);
 }
 public static bool IsPluginUpdateAvailable()
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null && dg.LatestAvailablePluginVersion() > Fabric.Internal.Editor.Info.Version);
 }
 public static HashSet <string> Resolve(string name, Dictionary <string, HashSet <VersionedDependency> > installed)
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?dg.Resolve(name, installed) : new HashSet <string> ());
 }
 public static bool Suspend()
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?dg.Suspend() : false);
 }
 public static List <string> Resolve(string name)
 {
     Dependency.DependencyGraphManager dg = updateChecker.GetDependencyGraphManager();
     return(dg != null?dg.Resolve(name) : new List <string> ());
 }