拼ui 一些业务逻辑x实现
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace EasyChart
|
||||
{
|
||||
public static class ProPackage
|
||||
{
|
||||
private static bool? s_isInstalled;
|
||||
|
||||
public static bool IsInstalled
|
||||
{
|
||||
get
|
||||
{
|
||||
if (s_isInstalled.HasValue) return s_isInstalled.Value;
|
||||
var t = Type.GetType("EasyChart.Pro.EasyChartProBootstrap, EasyChart.Pro.Runtime");
|
||||
s_isInstalled = t != null;
|
||||
return s_isInstalled.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user