示例#1
0
 public override bool Startup(ICommunicatorCore host)
 {
     fHost = host;
     fCore = new GKLCore(fHost);
     fHost.BlockchainNode.RegisterSolver(new LocationTransactionSolver(fCore));
     fHost.BlockchainNode.RegisterSolver(new LocationNameTransactionSolver(fCore));
     fHost.BlockchainNode.RegisterSolver(new LocationRelationTransactionSolver(fCore));
     return(true);
 }
        public void Init(IDataPlugin dataPlugin)
        {
            var locationsDataPlugin = ((LocationsDataPlugin)dataPlugin);

            fHost = locationsDataPlugin.Host;
            fCore = locationsDataPlugin.Core;

            treeControl1.Core = fCore;

            FillLanguagesCombo();

            FillTests();

            treeControl1.UpdateContent(GetSelectedLanguage());
        }
示例#3
0
 public LocationNameTransactionSolver(GKLCore core) : base(core)
 {
 }
示例#4
0
 public LocationRelationTransactionSolver(GKLCore core) : base(core)
 {
 }
 public BaseTransactionSolver(GKLCore core)
 {
     fCore = core;
 }