You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
561 B
20 lines
561 B
using Kingo.Plugin.CZC_IDG.Helper; |
|
using Kingo.PluginServiceInterface; |
|
using UIShell.OSGi; |
|
|
|
namespace Kingo.Plugin.CZC_IDG |
|
{ |
|
public class Activator : IBundleActivator |
|
{ |
|
CZCDYDHelper cZCDYDHelper = new CZCDYDHelper(); |
|
public void Start(IBundleContext context) |
|
{ |
|
UIShell.OSGi.BundleRuntime.Instance.AddService<IDataChange>(cZCDYDHelper); |
|
} |
|
|
|
public void Stop(IBundleContext context) |
|
{ |
|
UIShell.OSGi.BundleRuntime.Instance.RemoveService<IDataChange>(cZCDYDHelper); |
|
} |
|
} |
|
}
|
|
|