public static void DeleteAllStringMapping(IApplicationState applicationState) { // Since removing all is a big step, get a confirmation var userAccepts = applicationState.UserAcceptsWarningOnDeleteAllMappings(); if (!userAccepts) { return; } StringMappings.Instance.Clear(); applicationState.DeleteAllStringMappings(); applicationState.UpdateCurentRegistryBytes(); }