Waf.InformationManager.AddressBook.Modules.Applications.Controllers.ContactController.Shutdown C# (CSharp) Method

Shutdown() public method

public Shutdown ( ) : void
return void
        public void Shutdown()
        {
            // Set the views to null so that the garbage collector can collect them.
            contactLayoutViewModel.ContactListView = null;
            contactLayoutViewModel.ContactView = null;
        }

Usage Example

Example #1
0
        private void CloseAddressBook()
        {
            shellService.ClearToolBarCommands();

            activeContactController?.Shutdown();
            activeContactController = null;
        }