mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2025-04-10 11:15:45 +02:00
Minor code style tweaks
This commit is contained in:
parent
9cca1a44d1
commit
9497576f74
@ -72,11 +72,11 @@ public bool IsActive
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
OnActivate();
|
||||
OnActivated();
|
||||
}
|
||||
else
|
||||
{
|
||||
OnDeactivate();
|
||||
OnDeactivated();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -86,7 +86,7 @@ public bool IsActive
|
||||
/// Raised whenever the <see cref="IsActive"/> property is set to <see langword="true"/>.
|
||||
/// Use this method to register to messages and do other initialization for this instance.
|
||||
/// </summary>
|
||||
protected virtual void OnActivate()
|
||||
protected virtual void OnActivated()
|
||||
{
|
||||
}
|
||||
|
||||
@ -95,7 +95,7 @@ protected virtual void OnActivate()
|
||||
/// Use this method to unregister from messages and do general cleanup for this instance.
|
||||
/// </summary>
|
||||
/// <remarks>The base implementation unregisters all messages for this recipient (with no token).</remarks>
|
||||
protected virtual void OnDeactivate()
|
||||
protected virtual void OnDeactivated()
|
||||
{
|
||||
Messenger.Unregister(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user