本文整理汇总了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);
}
}
示例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();
}
}
示例3: RegisterService
private void RegisterService(IApplicationContext appContext)
{
appContext.RegisterService(this);
}
示例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);
}
示例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);
}
示例6: RegistMyself
public void RegistMyself(IApplicationContext aC)
{
aC.RegisterService(this);
}
示例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();
}