Exemplo n.º 1
0
 void resolveur_ProjectResolveCompleteEvent()
 {
     if (removeConfirmed())
     {
         _resolveur.Clean();
     }
 }
Exemplo n.º 2
0
        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();
            }
        }