mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
49 lines
1.8 KiB
C#
49 lines
1.8 KiB
C#
using System.Composition;
|
|
using Microsoft.VisualStudio.Composition;
|
|
using Microsoft.VisualStudio.ProjectSystem;
|
|
using Microsoft.VisualStudio.ProjectSystem.Properties;
|
|
|
|
using Cosmos.VS.ProjectSystem.CompatMocks;
|
|
|
|
namespace Cosmos.VS.ProjectSystem
|
|
{
|
|
[Export]
|
|
internal partial class ProjectProperties : StronglyTypedPropertyAccess
|
|
{
|
|
public new ConfiguredProjectMock ConfiguredProject { get; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProjectProperties"/> class.
|
|
/// </summary>
|
|
[ImportingConstructor]
|
|
public ProjectProperties(ConfiguredProject configuredProject, ConfiguredProjectMock configuredProjectMock)
|
|
: base(configuredProject)
|
|
{
|
|
ConfiguredProject = configuredProjectMock;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProjectProperties"/> class.
|
|
/// </summary>
|
|
public ProjectProperties(ConfiguredProject configuredProject, string file, string itemType, string itemName)
|
|
: base(configuredProject, file, itemType, itemName)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProjectProperties"/> class.
|
|
/// </summary>
|
|
public ProjectProperties(ConfiguredProject configuredProject, IProjectPropertiesContext projectPropertiesContext)
|
|
: base(configuredProject, projectPropertiesContext)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProjectProperties"/> class.
|
|
/// </summary>
|
|
public ProjectProperties(ConfiguredProject configuredProject, UnconfiguredProject unconfiguredProject)
|
|
: base(configuredProject, unconfiguredProject)
|
|
{
|
|
}
|
|
}
|
|
}
|