From ca47896204482bf4a6979e3838bf7f09f61cebeb Mon Sep 17 00:00:00 2001
From: giy <giy@omp-system.ru>
Date: Fri, 02 Sep 2022 14:16:56 +0300
Subject: [PATCH] Обновление до версии 2.9.0
---
QtVsTools.Core/ProFileContent.cs | 40 +++++++---------------------------------
1 files changed, 7 insertions(+), 33 deletions(-)
diff --git a/QtVsTools.Core/ProFileContent.cs b/QtVsTools.Core/ProFileContent.cs
index 8bd3d2b..a505a16 100644
--- a/QtVsTools.Core/ProFileContent.cs
+++ b/QtVsTools.Core/ProFileContent.cs
@@ -35,46 +35,20 @@
{
public ProFileContent(VCProject proj)
{
- export = true;
- vcproj = proj;
- options = new List<ProFileOption>();
+ Export = true;
+ Project = proj;
+ Options = new List<ProFileOption>();
}
public override string ToString()
{
- return vcproj.Name;
+ return Project.Name;
}
- public VCProject Project
- {
- get
- {
- return vcproj;
- }
- }
+ public VCProject Project { get; }
- public bool Export
- {
- get
- {
- return export;
- }
- set
- {
- export = value;
- }
- }
+ public bool Export { get; set; }
- public List<ProFileOption> Options
- {
- get
- {
- return options;
- }
- }
-
- private VCProject vcproj;
- private bool export;
- private List<ProFileOption> options;
+ public List<ProFileOption> Options { get; }
}
}
--
Gitblit v1.9.1