Renamed.
This commit is contained in:
parent
e37a2ccca9
commit
f925d10d2b
2 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ namespace LibationWinForms.BookLiberation.BaseForms
|
|||
SyncContext = SynchronizationContext.Current;
|
||||
}
|
||||
|
||||
public void RegisterLiberation(IFileLiberator fileLiberator, LogMe logMe = null)
|
||||
public void RegisterFileLiberator(IFileLiberator fileLiberator, LogMe logMe = null)
|
||||
{
|
||||
//IFileLiberator must at least be IStreamable, otherwise the Form won't ever Show()
|
||||
if (fileLiberator is null || fileLiberator is not IStreamable streamable) return;
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ namespace LibationWinForms.BookLiberation
|
|||
strProc.Begin += (sender, libraryBook) =>
|
||||
{
|
||||
var processForm = new TForm();
|
||||
processForm.RegisterLiberation(strProc, logMe);
|
||||
processForm.RegisterFileLiberator(strProc, logMe);
|
||||
processForm.OnBegin(sender, libraryBook);
|
||||
};
|
||||
|
||||
|
|
@ -167,7 +167,7 @@ namespace LibationWinForms.BookLiberation
|
|||
var streamable = new TStr();
|
||||
|
||||
var streamForm = new TForm();
|
||||
streamForm.RegisterLiberation(streamable);
|
||||
streamForm.RegisterFileLiberator(streamable);
|
||||
|
||||
if (completedAction != null)
|
||||
streamable.StreamingCompleted += completedAction;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue