Add configuration option for McwsTestEnvironment
This commit is contained in:
parent
f51ac64d79
commit
cde6e42923
4 changed files with 12 additions and 3 deletions
|
|
@ -107,13 +107,16 @@ namespace MatterHackers.MatterControl
|
|||
Titillium,
|
||||
};
|
||||
|
||||
public class AppContext
|
||||
|
||||
public static class AppContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Native platform features
|
||||
/// </summary>
|
||||
public static INativePlatformFeatures Platform { get; set; }
|
||||
|
||||
public static MatterControlOptions Options { get; set; } = new MatterControlOptions();
|
||||
|
||||
public static bool IsLoading { get; internal set; } = true;
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -232,6 +235,11 @@ namespace MatterHackers.MatterControl
|
|||
ApplicationController.Instance.ReloadAll();
|
||||
});
|
||||
}
|
||||
|
||||
public class MatterControlOptions
|
||||
{
|
||||
public bool McwsTestEnvironment { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
public class ApplicationController
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue