当前位置: 首页>>代码示例>>C#>>正文


C# IApplicationContext.RegisterService方法代码示例

本文整理汇总了C#中IApplicationContext.RegisterService方法的典型用法代码示例。如果您正苦于以下问题:C# IApplicationContext.RegisterService方法的具体用法?C# IApplicationContext.RegisterService怎么用?C# IApplicationContext.RegisterService使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IApplicationContext的用法示例。


在下文中一共展示了IApplicationContext.RegisterService方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitStage1

 public void InitStage1(IApplicationContext appContext)
 {
     if (!this.m_NetTypeList.Contains(NetWorkType.CDMA))
     {
         TrafficMapModelServiceImpl mapModelService = new TrafficMapModelServiceImpl(appContext);
         TrafficMapServiceImpl service = new TrafficMapServiceImpl(mapModelService, appContext);
         appContext.RegisterService(mapModelService);
         appContext.RegisterService(service);
         (appContext.Lookup(typeof(IAppAgent).FullName) as IAppAgent).AddApplicationVectorLayer(mapModelService.TrafficMapVectorData);
     }
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:11,代码来源:TrafficMapLogicSubSys.cs

示例2: InitStage1

 public void InitStage1(IApplicationContext appContext)
 {
     if (!this.m_NetWorkTypeList.Contains(NetWorkType.CDMA))
     {
         TrafficServiceImpl impl = new TrafficServiceImpl(appContext, this.m_NetWorkType);
         this.m_Model = impl.TrafficColModel;
         this.m_TrafficService = appContext.Lookup(typeof(ITrafficService).FullName) as ITrafficService;
         this.m_TrafficInterface = new TrafficForNetEntity(appContext, this.m_Model);
         this.m_TrafficForMapInterface = new TrafficForMap(appContext, this.m_Model);
         this.m_TrafficForApp = new TrafficForApplication(appContext, this.m_Model);
         CalMcsEfficiency service = new CalMcsEfficiency(appContext, this.m_Model);
         appContext.RegisterService(this.m_TrafficInterface);
         appContext.RegisterService(this.m_TrafficForMapInterface);
         appContext.RegisterService(this.m_TrafficForApp);
         appContext.RegisterService(service);
         this.m_appContext = appContext;
         this.m_Antennas = ServiceHelper.Lookup<INetAntenna<AntennaEntity>>(appContext);
         this.m_SerializeHelper = new SerializedHelper(this.m_Model, this.m_TrafficSerializedData, this.m_NetWorkTypeList);
         this.InitManagement();
         this.InitExportExcelDic();
     }
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:22,代码来源:TrafficSubSys.cs

示例3: RegisterService

 private void RegisterService(IApplicationContext appContext)
 {
     appContext.RegisterService(this);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:4,代码来源:LTELinkLossSubSys.cs

示例4: RegisterService

 private void RegisterService(IApplicationContext appContext)
 {
     appContext.RegisterService(this.m_UserInfo);
     appContext.RegisterService(this.m_MenuItemOperations[0] as SimMenuItemOperation);
     appContext.RegisterService(this.m_ExportManager);
     appContext.RegisterService(this.m_SimGroupManager);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:7,代码来源:SimulationSubSys.cs

示例5: RegisterService

 private void RegisterService(IApplicationContext appContext)
 {
     appContext.RegisterService(this.m_IPredicForTrafficMap);
     appContext.RegisterService(this.m_IPredictionForTrafficParameter);
     appContext.RegisterService(this.m_PredictionGroupsManager);
     appContext.RegisterService(this.m_PredictionContextMenuView);
     appContext.RegisterService(this.m_IExportCoverAntoPlan);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:8,代码来源:PredictionSubSys.cs

示例6: RegistMyself

 public void RegistMyself(IApplicationContext aC)
 {
     aC.RegisterService(this);
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:4,代码来源:EventViewService.cs

示例7: RegisterService

 private void RegisterService(IApplicationContext appContext)
 {
     appContext.RegisterService(this.m_PropModelCollection);
     appContext.RegisterService(this.m_PLCalcDataMngr);
     appContext.RegisterService(this.PLCalcDataVstr);
     appContext.RegisterService(this.m_IPTPLossCalcMethod);
     appContext.RegisterService(this.PropParameterImp);
     appContext.RegisterService(this.m_GeoDataObserver);
     appContext.RegisterService(m_BackhaulPLCalc);
     //add by xujuan
     appContext.RegisterService(m_GetRelayUEPathLoss);
     this.InitAddionalFunction();
 }
开发者ID:xiaoyj,项目名称:Space,代码行数:13,代码来源:PropagationModelSubSys.cs


注:本文中的IApplicationContext.RegisterService方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。