/// <summary> /// Provides a deterministic way to create the EditContactViewModel property. /// </summary> public static void CreateEditContactViewModel() { if (_editContactViewModelPropertyName == null) { _editContactViewModelPropertyName = new EditContactViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the EditContactViewModel property. /// </summary> public static void ClearEditContactViewModel() { _editContactViewModelPropertyName.Cleanup(); _editContactViewModelPropertyName = null; }