public SqlAreaTest(TestFixture myFixture) { this.areaProvider = myFixture.ServiceProvider.GetService <IAreaProvider>(); this.accountProvider = myFixture.ServiceProvider.GetService <IAccountProvider>(); this.possibleRoleProvider = myFixture.ServiceProvider.GetService <IPossibleRoleProvider>(); this.roleProvider = myFixture.ServiceProvider.GetService <IRoleProvider>(); }
bool IAreaProvider.PositionHorizontally(LayoutInfo layoutInfo) { IAreaProvider formattedDoc = (IAreaProvider)this.documentRenderer.FormattedDocument; return(formattedDoc.PositionHorizontally(layoutInfo));; }
bool IAreaProvider.PositionVertically(LayoutInfo layoutInfo) { IAreaProvider formattedDoc = _documentRenderer.FormattedDocument; return(formattedDoc.PositionVertically(layoutInfo)); }
public TopDownFormatter(IAreaProvider areaProvider, DocumentRenderer documentRenderer, DocumentElements elements) { _documentRenderer = documentRenderer; _areaProvider = areaProvider; _elements = elements; }
internal TopDownFormatter(IAreaProvider areaProvider, DocumentRenderer documentRenderer, DocumentElements elements) { this.documentRenderer = documentRenderer; this.areaProvider = areaProvider; this.elements = elements; }
internal TopDownFormatter(IAreaProvider areaProvider, DocumentRenderer documentRenderer, DocumentElements elements) { this.documentRenderer = documentRenderer; this.areaProvider = areaProvider; this.elements = elements; }
internal TopDownFormatter(IAreaProvider areaProvider, DocumentRenderer documentRenderer, DocumentElements elements) { _documentRenderer = documentRenderer; _areaProvider = areaProvider; _elements = elements; }
public WeatherAreaTimerTask() { areaProvider = new AreaProvider(); weatherCityManage = new WeatherCityManage(); }
/// <summary> /// 实例化天气查询服务控制器 /// </summary> /// <param name="areaProvider"></param> public WeatherController(ILogger <WeatherController> logger, IAreaProvider areaProvider, IWeatherProvider weatherProvider) { this.logger = logger; this.areaProvider = areaProvider; this.weatherProvider = weatherProvider; }
public AreaController(IAreaProvider areaProvider, IMemberProvider memberProvider) { this.areaProvider = areaProvider; this.memberProvider = memberProvider; }