C# Class Foundatio.Repositories.Migrations.MigrationBase

Inheritance: IMigration
Datei anzeigen Open project: exceptionless/Foundatio.Repositories

Protected Properties

Property Type Description
_logger ILogger

Public Methods

Method Description
MigrationBase ( ILoggerFactory loggerFactory = null ) : System.Threading.Tasks
RunAsync ( ) : System.Threading.Tasks.Task

Protected Methods

Method Description
CalculateProgress ( long total, long completed, int startProgress, int endProgress = 100 ) : int

Method Details

CalculateProgress() protected method

protected CalculateProgress ( long total, long completed, int startProgress, int endProgress = 100 ) : int
total long
completed long
startProgress int
endProgress int
return int

MigrationBase() public method

public MigrationBase ( ILoggerFactory loggerFactory = null ) : System.Threading.Tasks
loggerFactory ILoggerFactory
return System.Threading.Tasks

RunAsync() public abstract method

public abstract RunAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Property Details

_logger protected_oe property

protected ILogger _logger
return ILogger