/// <summary> /// 构造翻模框架 /// </summary> /// <param name="useRequestMaker">使用UI层请求制作接口</param> /// <param name="useResponseHanlder">使用的响应处理器</param> public QuickModelFrameWork(IRequestMaker useRequestMaker, IResponseHanlder useResponseHanlder) { m_useRequestMaker = useRequestMaker; m_lstGrouperType = GetTypesInAssembly <IDataGrouper>(); m_lstBuilderType = GetTypesInAssembly <IRevitModelRebuilder>(); m_useResponseHanlder = useResponseHanlder; PrepareMap <IDataGrouper, GrouperAttribute>(m_lstGrouperType, m_dicUSeGropuerMap); PrepareMap <IRevitModelRebuilder, RebuilderAttribute>(m_lstBuilderType, m_dicUseRebuilderMap); }
public void SetUp() { urlParamsBuilder = new Mock <IUrlParamsBuilder>(); requestMaker = new Hamahakki.RequestMaker(urlParamsBuilder.Object); }
public ItunesSearchManager(IRequestMaker _searchClient) { this._searchClient = _searchClient; }