Example #1
0
        private static void Metadata()
        {
            using var cfg = new ConfigUpdater();
            var c = cfg.GenerateMetadata(Strings.ConfigPath);

            using var img = new ImageUpdater();
            var i = img.GenerateMetadata(Strings.ImagePath);

            using var ptc = new PatchUpdater();
            var p = ptc.GenerateMetadata(Strings.PatchPath);

            Task.WaitAll(c, i, p);
        }
Example #2
0
        private static void Update()
        {
            using var cfg = new ConfigUpdater();
            var c = Task.Run(cfg.Update);

            using var img = new ImageUpdater();
            var i = Task.Run(img.Update);

            using var ptc = new PatchUpdater();
            var p = Task.Run(ptc.Update);

            Task.WaitAll(c, i, p);
        }