public override void Initialize(VPlatform platform, VLogger logger, VModuleInfo moduleInfo, int secret) { _contract.Initialize(PlatformAdapter.V2C(platform), LoggerAdapter.V2C(logger), ModuleInfoAdapter.V2C(moduleInfo), secret); //IPlatform iPlatform = PlatformAdapter.V2C(platform); //ILogger iLogger = LoggerAdapter.V2C(logger); //IModuleInfo iModuleInfo = ModuleInfoAdapter.V2C(moduleInfo); //_contract.Initialize(iPlatform, iLogger, iModuleInfo); }
public void Initialize(IPlatform platform, ILogger logger, IModuleInfo moduleInfo, int secret) { _view.Initialize(PlatformAdapter.C2V(platform), LoggerAdapter.C2V(logger), ModuleInfoAdapter.C2V(moduleInfo), secret); }