1. 10 3月, 2018 4 次提交
    • J
      Introduce an interface IProjectCodeModel for ProjectCodeModel · af4996d8
      Jason Malinowski 提交于
      This interface is able to live in our ServicesVisualStudio project
      and that's what the project systems are able to interact with. This
      makes the API more like an "optional service" that they can create.
      Down the road, we can just have an IProjectCodeModelFactory that
      keeps the implementation entirely separated out.
      af4996d8
    • J
      Make AbstractProjectCodeModel just be CodeModel · 112054c7
      Jason Malinowski 提交于
      Now that there's nothing being brought by the inheritence model, we can
      seal the type.
      112054c7
    • J
      Remove abstract methods in AbstractProjectCodeModel · 1a34774a
      Jason Malinowski 提交于
      Rather than using inheritence, we only need one factory method. By
      favoring composition here this will set us up to remove a bunch
      of derived types.
      
      This commit is admittedly strange, as in some cases we now have a
      child type being created in derived types of AbstractProjectCodeModel.
      This is just to move things around, and it'll get better in the next
      commit.
      1a34774a
    • J
      Make AbstractProjectCodeModel.GetCodeModelCache private · 606f0397
      Jason Malinowski 提交于
      This was being used directly in a lot of places, but I think it's a bit
      eaiser to follow object relationships if all creation methods go
      through AbstractProjectCodeModel, and from there might get forwarded.
      
      A fair number of checks were being made of whether the CodeModelCache
      was null; I don't believe these make sense. Once the underlying
      _codeModelCache type is made non-null, it is never set to null, and the
      only way it could fail to create in the first place is if the project
      was never in the ProjectTracker. Given we only produce these once we
      already have a live AbstractProject, that's not possible.
      606f0397
  2. 09 3月, 2018 1 次提交
  3. 08 3月, 2018 6 次提交
  4. 07 3月, 2018 8 次提交
  5. 06 3月, 2018 20 次提交
  6. 05 3月, 2018 1 次提交