Esempio n. 1
0
    public void OldUpdateSchedule()
    {
        UpdateSharedData.Instance.Processor = this;

        UnzipProcedure           unzipProcedure           = new UnzipProcedure();
        DownloadPackageProcedure downloadPackageProcedure = new DownloadPackageProcedure(unzipProcedure);

        downloadPackageProcedure.StartProcedure();
    }
Esempio n. 2
0
    public void AllUpdateSchedule()
    {
        UpdateSharedData.Instance.Processor = this;

        NoUpdateFinalProcedure   noUpdateFinalProcedure   = new NoUpdateFinalProcedure();
        DownloadAssetsProcedure  downloadAssetsProcedure  = new DownloadAssetsProcedure();
        AnalyzeCatalogProcedure  analyzeCatalogProcedure  = new AnalyzeCatalogProcedure(downloadAssetsProcedure);
        DownloadCatalogProcedure downloadCatalogProcedure = new DownloadCatalogProcedure(analyzeCatalogProcedure);
        ConfirmDownloadProcedure confirmDownloadProcedure = new ConfirmDownloadProcedure(downloadCatalogProcedure, noUpdateFinalProcedure);
        RemoteProcedure          remoteProcedure          = new RemoteProcedure(confirmDownloadProcedure);
        LocalProcedure           localProcedure           = new LocalProcedure(remoteProcedure);

        UnzipProcedure           unzipProcedure           = new UnzipProcedure(localProcedure);
        DownloadPackageProcedure downloadPackageProcedure = new DownloadPackageProcedure(unzipProcedure);

        downloadPackageProcedure.StartProcedure();
    }