C# Класс DataMigration.NonFileBasedFeedManager

This is used for non-file-based data sources, it does no actual work, but just allows the MigrationEngine to go directly to using the Parser to do work.
Наследование: IFeedManager
Показать файл Открыть проект

Открытые методы

Метод Описание
DownloadCurrentToLocal ( bool doDownload = true ) : void
MoveCurrentToArchive ( ) : string

In this implementation, there are no files to move, hence it does nothing. Normally, The name of the dated subdirectory under archive. In this case, it just returns String.Empty;

MoveDropToCurrent ( ) : void

This implementation does nothing, since there are no files to move.

NeedsToProcess ( ) : bool

Given a DataSourcePlan and an IFeedAccess instance, an IFeedManager is responsible for determining if there is work to do. In this case, we simply want to always return true, because there are no physical files to manipulate, and we always want to do the work.

Описание методов

DownloadCurrentToLocal() публичный Метод

public DownloadCurrentToLocal ( bool doDownload = true ) : void
doDownload bool
Результат void

MoveCurrentToArchive() публичный Метод

In this implementation, there are no files to move, hence it does nothing. Normally, The name of the dated subdirectory under archive. In this case, it just returns String.Empty;
public MoveCurrentToArchive ( ) : string
Результат string

MoveDropToCurrent() публичный Метод

This implementation does nothing, since there are no files to move.
public MoveDropToCurrent ( ) : void
Результат void

NeedsToProcess() публичный Метод

Given a DataSourcePlan and an IFeedAccess instance, an IFeedManager is responsible for determining if there is work to do. In this case, we simply want to always return true, because there are no physical files to manipulate, and we always want to do the work.
public NeedsToProcess ( ) : bool
Результат bool