void resolveur_ProjectResolveCompleteEvent() { if (removeConfirmed()) { _resolveur.Clean(); } }
static void resolveur_ProjectResolveCompleteEvent() { Console.WriteLine("Continue with removal of references (y/n)? Default is y: "); var response = Console.ReadLine(); const string yes = "y"; response = string.IsNullOrWhiteSpace(response) ? yes : response; if (string.Equals(response, yes, StringComparison.CurrentCultureIgnoreCase)) { _resolveur.Clean(); } }