Пример #1
0
 public void Initialize(IPlatform platform, ILogger logger, IModuleInfo moduleInfo, int secret)
 {
     _view.Initialize(PlatformAdapter.C2V(platform), LoggerAdapter.C2V(logger), ModuleInfoAdapter.C2V(moduleInfo), secret);
 }
Пример #2
0
        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);
        }
Пример #3
0
 public IModuleInfo GetInfo()
 {
     return(ModuleInfoAdapter.V2C(_view.GetInfo()));
 }
Пример #4
0
 public override VModuleInfo GetInfo()
 {
     return(ModuleInfoAdapter.C2V(_contract.GetInfo()));
 }