mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
30 lines
1 KiB
C#
30 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Microsoft.VisualStudio.ProjectSystem;
|
|
|
|
using Cosmos.VS.ProjectSystem.VS.PropertyPages.ViewModels;
|
|
using Cosmos.VS.ProjectSystem.VS.PropertyPages.Views;
|
|
|
|
using VSPropertyPages;
|
|
|
|
namespace Cosmos.VS.ProjectSystem.VS.PropertyPages
|
|
{
|
|
[Guid(PageGuid)]
|
|
internal class CosmosPropertyPage : PropertyPageBase
|
|
{
|
|
public const string PageGuid = "18a5712f-d45f-443f-b6ba-5b729fbabde0";
|
|
|
|
public override string PageName => "Cosmos (new)";
|
|
|
|
public override IPropertyPageUI CreatePropertyPageUI() =>
|
|
new CosmosPropertyPageControl()
|
|
{
|
|
DataContext = new CosmosPropertyPageViewModel(PropertyManager, ProjectThreadingService)
|
|
};
|
|
|
|
public override IPropertyManager CreatePropertyManager(
|
|
IReadOnlyCollection<ConfiguredProject> configuredProjects) =>
|
|
new DynamicConfiguredPropertyManager(UnconfiguredProject, configuredProjects);
|
|
}
|
|
}
|