예제 #1
0
 /// <summary>
 /// 初始化类<see cref="IndexModel"/>。
 /// </summary>
 /// <param name="serviceDocumentManager">服务文档管理接口。</param>
 /// <param name="serviceManager">开放服务管理接口。</param>
 public IndexModel(IServiceDocumentManager serviceDocumentManager, IOpenServiceManager serviceManager)
 {
     ServiceManager  = serviceManager;
     _serviceManager = serviceDocumentManager;
 }
예제 #2
0
 /// <summary>
 /// 初始化类<see cref="IndexModel"/>。
 /// </summary>
 /// <param name="serviceDocumentManager">服务文档管理接口。</param>
 /// <param name="serviceManager">开放服务管理接口。</param>
 /// <param name="applicationManager">应用程序管理接口。</param>
 public ApisModel(IServiceDocumentManager serviceDocumentManager, IOpenServiceManager serviceManager, IApplicationManager applicationManager)
 {
     ServiceManager      = serviceManager;
     _serviceManager     = serviceDocumentManager;
     _applicationManager = applicationManager;
 }