|
| 1 | +using Microsoft.VisualStudio.Shell.Interop; |
| 2 | +using System; |
| 3 | +using System.Collections.Generic; |
| 4 | +using System.Linq; |
| 5 | +using System.Text; |
| 6 | +using System.Threading.Tasks; |
| 7 | + |
| 8 | +namespace Cody.AgentTester |
| 9 | +{ |
| 10 | + public class FakeVsSolution : IVsSolution |
| 11 | + { |
| 12 | + public int GetProjectEnum(uint grfEnumFlags, ref Guid rguidEnumOnlyThisType, out IEnumHierarchies ppenum) |
| 13 | + { |
| 14 | + throw new NotImplementedException(); |
| 15 | + } |
| 16 | + |
| 17 | + public int CreateProject(ref Guid rguidProjectType, string lpszMoniker, string lpszLocation, string lpszName, uint grfCreateFlags, ref Guid iidProject, out IntPtr ppProject) |
| 18 | + { |
| 19 | + throw new NotImplementedException(); |
| 20 | + } |
| 21 | + |
| 22 | + public int GenerateUniqueProjectName(string lpszRoot, out string pbstrProjectName) |
| 23 | + { |
| 24 | + throw new NotImplementedException(); |
| 25 | + } |
| 26 | + |
| 27 | + public int GetProjectOfGuid(ref Guid rguidProjectID, out IVsHierarchy ppHierarchy) |
| 28 | + { |
| 29 | + throw new NotImplementedException(); |
| 30 | + } |
| 31 | + |
| 32 | + public int GetGuidOfProject(IVsHierarchy pHierarchy, out Guid pguidProjectID) |
| 33 | + { |
| 34 | + throw new NotImplementedException(); |
| 35 | + } |
| 36 | + |
| 37 | + public int GetSolutionInfo(out string pbstrSolutionDirectory, out string pbstrSolutionFile, out string pbstrUserOptsFile) |
| 38 | + { |
| 39 | + throw new NotImplementedException(); |
| 40 | + } |
| 41 | + |
| 42 | + public int AdviseSolutionEvents(IVsSolutionEvents pSink, out uint pdwCookie) |
| 43 | + { |
| 44 | + throw new NotImplementedException(); |
| 45 | + } |
| 46 | + |
| 47 | + public int UnadviseSolutionEvents(uint dwCookie) |
| 48 | + { |
| 49 | + throw new NotImplementedException(); |
| 50 | + } |
| 51 | + |
| 52 | + public int SaveSolutionElement(uint grfSaveOpts, IVsHierarchy pHier, uint docCookie) |
| 53 | + { |
| 54 | + throw new NotImplementedException(); |
| 55 | + } |
| 56 | + |
| 57 | + public int CloseSolutionElement(uint grfCloseOpts, IVsHierarchy pHier, uint docCookie) |
| 58 | + { |
| 59 | + throw new NotImplementedException(); |
| 60 | + } |
| 61 | + |
| 62 | + public int GetProjectOfProjref(string pszProjref, out IVsHierarchy ppHierarchy, out string pbstrUpdatedProjref, VSUPDATEPROJREFREASON[] puprUpdateReason) |
| 63 | + { |
| 64 | + throw new NotImplementedException(); |
| 65 | + } |
| 66 | + |
| 67 | + public int GetProjrefOfProject(IVsHierarchy pHierarchy, out string pbstrProjref) |
| 68 | + { |
| 69 | + throw new NotImplementedException(); |
| 70 | + } |
| 71 | + |
| 72 | + public int GetProjectInfoOfProjref(string pszProjref, int propid, out object pvar) |
| 73 | + { |
| 74 | + throw new NotImplementedException(); |
| 75 | + } |
| 76 | + |
| 77 | + public int AddVirtualProject(IVsHierarchy pHierarchy, uint grfAddVPFlags) |
| 78 | + { |
| 79 | + throw new NotImplementedException(); |
| 80 | + } |
| 81 | + |
| 82 | + public int GetItemOfProjref(string pszProjref, out IVsHierarchy ppHierarchy, out uint pitemid, out string pbstrUpdatedProjref, VSUPDATEPROJREFREASON[] puprUpdateReason) |
| 83 | + { |
| 84 | + throw new NotImplementedException(); |
| 85 | + } |
| 86 | + |
| 87 | + public int GetProjrefOfItem(IVsHierarchy pHierarchy, uint itemid, out string pbstrProjref) |
| 88 | + { |
| 89 | + throw new NotImplementedException(); |
| 90 | + } |
| 91 | + |
| 92 | + public int GetItemInfoOfProjref(string pszProjref, int propid, out object pvar) |
| 93 | + { |
| 94 | + throw new NotImplementedException(); |
| 95 | + } |
| 96 | + |
| 97 | + public int GetProjectOfUniqueName(string pszUniqueName, out IVsHierarchy ppHierarchy) |
| 98 | + { |
| 99 | + throw new NotImplementedException(); |
| 100 | + } |
| 101 | + |
| 102 | + public int GetUniqueNameOfProject(IVsHierarchy pHierarchy, out string pbstrUniqueName) |
| 103 | + { |
| 104 | + throw new NotImplementedException(); |
| 105 | + } |
| 106 | + |
| 107 | + public int GetProperty(int propid, out object pvar) |
| 108 | + { |
| 109 | + throw new NotImplementedException(); |
| 110 | + } |
| 111 | + |
| 112 | + public int SetProperty(int propid, object var) |
| 113 | + { |
| 114 | + throw new NotImplementedException(); |
| 115 | + } |
| 116 | + |
| 117 | + public int OpenSolutionFile(uint grfOpenOpts, string pszFilename) |
| 118 | + { |
| 119 | + throw new NotImplementedException(); |
| 120 | + } |
| 121 | + |
| 122 | + public int QueryEditSolutionFile(out uint pdwEditResult) |
| 123 | + { |
| 124 | + throw new NotImplementedException(); |
| 125 | + } |
| 126 | + |
| 127 | + public int CreateSolution(string lpszLocation, string lpszName, uint grfCreateFlags) |
| 128 | + { |
| 129 | + throw new NotImplementedException(); |
| 130 | + } |
| 131 | + |
| 132 | + public int GetProjectFactory(uint dwReserved, Guid[] pguidProjectType, string pszMkProject, out IVsProjectFactory ppProjectFactory) |
| 133 | + { |
| 134 | + throw new NotImplementedException(); |
| 135 | + } |
| 136 | + |
| 137 | + public int GetProjectTypeGuid(uint dwReserved, string pszMkProject, out Guid pguidProjectType) |
| 138 | + { |
| 139 | + throw new NotImplementedException(); |
| 140 | + } |
| 141 | + |
| 142 | + public int OpenSolutionViaDlg(string pszStartDirectory, int fDefaultToAllProjectsFilter) |
| 143 | + { |
| 144 | + throw new NotImplementedException(); |
| 145 | + } |
| 146 | + |
| 147 | + public int AddVirtualProjectEx(IVsHierarchy pHierarchy, uint grfAddVPFlags, ref Guid rguidProjectID) |
| 148 | + { |
| 149 | + throw new NotImplementedException(); |
| 150 | + } |
| 151 | + |
| 152 | + public int QueryRenameProject(IVsProject pProject, string pszMkOldName, string pszMkNewName, uint dwReserved, out int pfRenameCanContinue) |
| 153 | + { |
| 154 | + throw new NotImplementedException(); |
| 155 | + } |
| 156 | + |
| 157 | + public int OnAfterRenameProject(IVsProject pProject, string pszMkOldName, string pszMkNewName, uint dwReserved) |
| 158 | + { |
| 159 | + throw new NotImplementedException(); |
| 160 | + } |
| 161 | + |
| 162 | + public int RemoveVirtualProject(IVsHierarchy pHierarchy, uint grfRemoveVPFlags) |
| 163 | + { |
| 164 | + throw new NotImplementedException(); |
| 165 | + } |
| 166 | + |
| 167 | + public int CreateNewProjectViaDlg(string pszExpand, string pszSelect, uint dwReserved) |
| 168 | + { |
| 169 | + throw new NotImplementedException(); |
| 170 | + } |
| 171 | + |
| 172 | + public int GetVirtualProjectFlags(IVsHierarchy pHierarchy, out uint pgrfAddVPFlags) |
| 173 | + { |
| 174 | + throw new NotImplementedException(); |
| 175 | + } |
| 176 | + |
| 177 | + public int GenerateNextDefaultProjectName(string pszBaseName, string pszLocation, out string pbstrProjectName) |
| 178 | + { |
| 179 | + throw new NotImplementedException(); |
| 180 | + } |
| 181 | + |
| 182 | + public int GetProjectFilesInSolution(uint grfGetOpts, uint cProjects, string[] rgbstrProjectNames, out uint pcProjectsFetched) |
| 183 | + { |
| 184 | + throw new NotImplementedException(); |
| 185 | + } |
| 186 | + |
| 187 | + public int CanCreateNewProjectAtLocation(int fCreateNewSolution, string pszFullProjectFilePath, out int pfCanCreate) |
| 188 | + { |
| 189 | + throw new NotImplementedException(); |
| 190 | + } |
| 191 | + } |
| 192 | +} |
0 commit comments