/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/Xaml/Impl/Implementation/XamlProjectService_IVsSolutionEvents.cs
64 строки
2 KB
Cyrus Najmabadi
Use file scoped namespaces. (#77854)
27 мар 2025, 09:55
Не верифицирован
27 мар 2025, 09:55
98d41b8
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.VisualStudio.LanguageServices.Xaml; internal partial class XamlProjectService : IVsSolutionEvents { int IVsSolutionEvents.OnAfterLoadProject(IVsHierarchy pStubHierarchy, IVsHierarchy pRealHierarchy) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnAfterOpenProject(IVsHierarchy pHierarchy, int fAdded) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnAfterOpenSolution(object pUnkReserved, int fNewSolution) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnQueryCloseProject(IVsHierarchy pHierarchy, int fRemoving, ref int pfCancel) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnBeforeCloseProject(IVsHierarchy pHierarchy, int fRemoved) { this.OnProjectClosing(pHierarchy); return VSConstants.S_OK; } int IVsSolutionEvents.OnQueryUnloadProject(IVsHierarchy pRealHierarchy, ref int pfCancel) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnBeforeUnloadProject(IVsHierarchy pRealHierarchy, IVsHierarchy pStubHierarchy) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnQueryCloseSolution(object pUnkReserved, ref int pfCancel) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnBeforeCloseSolution(object pUnkReserved) { return VSConstants.E_NOTIMPL; } int IVsSolutionEvents.OnAfterCloseSolution(object pUnkReserved) { return VSConstants.E_NOTIMPL; } }