Reverting change to make RegisterSetup abstract
This commit is contained in:
Родитель
596d958102
Коммит
d11d26d94d
|
@ -98,8 +98,10 @@ namespace MvvmCross.Forms.Platforms.Ios.Core
|
|||
LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
|
||||
public event EventHandler<MvxLifetimeEventArgs> LifetimeChanged;
|
||||
}
|
||||
|
||||
|
|
|
@ -93,7 +93,9 @@ namespace MvvmCross.Forms.Platforms.Mac.Core
|
|||
LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
|
||||
public event EventHandler<MvxLifetimeEventArgs> LifetimeChanged;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,9 @@ namespace MvvmCross.Platforms.Android.Views
|
|||
RegisterSetup();
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public abstract class MvxAndroidApplication<TMvxAndroidSetup, TApplication> : MvxAndroidApplication
|
||||
|
|
|
@ -64,7 +64,9 @@ namespace MvvmCross.Platforms.Ios.Core
|
|||
return null;
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
|
||||
private void FireLifetimeChanged(MvxLifetimeEvent which)
|
||||
{
|
||||
|
|
|
@ -73,7 +73,9 @@ namespace MvvmCross.Platforms.Mac.Core
|
|||
LifetimeChanged?.Invoke(this, new MvxLifetimeEventArgs(which));
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
|
||||
public event EventHandler<MvxLifetimeEventArgs> LifetimeChanged;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,9 @@ namespace MvvmCross.Platforms.Tvos.Core
|
|||
handler?.Invoke(this, new MvxLifetimeEventArgs(which));
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
|
||||
public event EventHandler<MvxLifetimeEventArgs> LifetimeChanged;
|
||||
}
|
||||
|
|
|
@ -145,6 +145,8 @@ namespace MvvmCross.Platforms.Uap.Views
|
|||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ namespace MvvmCross.Platforms.Wpf.Views
|
|||
return null;
|
||||
}
|
||||
|
||||
protected abstract void RegisterSetup();
|
||||
protected virtual void RegisterSetup()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче