private ITfsLocater DerivePackageByVisualStudioVersion()
        {
            ITfsLocater results = null;
            int         version = DetermineVisualStudioVersionNumber();

            switch (version)
            {
            case 10:
                results = new Vs2010Locater(this);
                break;

            case 11:
                results = new Vs2012DispatchingLocater(this);
                break;

            case 12:
                results = new Vs2013DispatchingLocater(this);
                break;

            case 14:
                results = new Vs2013DispatchingLocater(this);
                break;

            case 15:
                results = new Vs2013DispatchingLocater(this);
                break;
            }
            return(results);
        }
 private ITfsLocater DerivePackageByVisualStudioVersion()
 {
     ITfsLocater results = null;
     int version = DetermineVisualStudioVersionNumber();
     switch (version)
     {
         case 10:
             results = new Vs2010Locater(this);
             break;
         case 11:
             results = new Vs2012DispatchingLocater(this);
             break;
         case 12:
             results = new Vs2013DispatchingLocater(this);
             break;
         case 14:
             results = new Vs2013DispatchingLocater(this);
             break;
     }
     return results;
 }