C# Class withSIX.Core.Presentation.Decorators.LoggingFileTransferDecorator

Inheritance: IEnableLogging
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes protégées

Méthode Description
OnError ( TransferSpec spec, Exception exception ) : void
OnFinished ( TransferSpec spec ) : void
OnStart ( TransferSpec spec ) : void
Wrap ( Func task, TransferSpec spec ) : System.Threading.Tasks.Task
Wrap ( System.Action action, TransferSpec spec ) : void

Private Methods

Méthode Description
WrapInternal ( Func task, TransferSpec spec ) : System.Threading.Tasks.Task
WrapInternal ( System.Action action, TransferSpec spec ) : void

Method Details

OnError() protected abstract méthode

protected abstract OnError ( TransferSpec spec, Exception exception ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
exception System.Exception
Résultat void

OnFinished() protected abstract méthode

protected abstract OnFinished ( TransferSpec spec ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
Résultat void

OnStart() protected abstract méthode

protected abstract OnStart ( TransferSpec spec ) : void
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
Résultat void

Wrap() protected méthode

protected Wrap ( Func task, TransferSpec spec ) : System.Threading.Tasks.Task
task Func
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
Résultat System.Threading.Tasks.Task

Wrap() protected méthode

protected Wrap ( System.Action action, TransferSpec spec ) : void
action System.Action
spec withSIX.Sync.Core.Transfer.Specs.TransferSpec
Résultat void