示例#1
0
        public async Task DeactivateAsync(DeactivateArgs args)
        {
            await OnDeactivateAsync(args);

            if (!args.Cancel)
            {
                this.IsActive = false;
            }
        }
示例#2
0
 protected virtual async Task OnDeactivateAsync(DeactivateArgs args)
 {
 }