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

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

        downloadPackageProcedure.StartProcedure();
    }
Exemplo 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();
    }