Exemple #1
0
        public async Task ActivateAsync(ActivateArgs args)
        {
            if (!WasActivated)
            {
                await OnFirstActivateAsync(args);

                WasActivated = true;
            }

            await OnActivateAsync(args);

            IsActive = true;
        }
Exemple #2
0
 protected virtual async Task OnFirstActivateAsync(ActivateArgs args)
 {
 }