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()); }
public LocationNameTransactionSolver(GKLCore core) : base(core) { }
public LocationRelationTransactionSolver(GKLCore core) : base(core) { }
public BaseTransactionSolver(GKLCore core) { fCore = core; }