aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-02-26 14:09:42 +0200
committerRoy <Roy.mail.net@gmail.com>2023-02-26 14:09:42 +0200
commitc256fc124a867707c787074c9076227341766794 (patch)
treeb3105881412a06219a6f0e0d9af7dd0e662bf4e8 /Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs
parent795f3ab6ea36551281ec6442aa16b9547af96adc (diff)
downloadTango-c256fc124a867707c787074c9076227341766794.tar.gz
Tango-c256fc124a867707c787074c9076227341766794.zip
eureka_ppc
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs
new file mode 100644
index 000000000..8f200191b
--- /dev/null
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Build/DefaultBuildProvider.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.PPC.Common.Application;
+using Tango.PPC.Common.Build;
+
+namespace Tango.PPC.UI.Build
+{
+ public class DefaultBuildProvider : IBuildProvider
+ {
+ public BuildType BuildType { get; internal set; }
+
+ public bool IsEureka
+ {
+ get { return BuildType == BuildType.Eureka; }
+ }
+
+ public DefaultBuildProvider()
+ {
+ if (App.StartupArgs != null && App.StartupArgs.Contains("eureka_build"))
+ {
+ BuildType = BuildType.Eureka;
+ }
+ }
+ }
+}