/// <summary> /// 获取结果 /// </summary> private string GetResult(TabNav component) { component.Begin(); var result = component.ToString(); _output.WriteLine(result); return(result); }
/// <summary> /// 初始化导航选项卡包装器 /// </summary> /// <param name="tabs">导航选项卡</param> public TabNavWrapper(TabNav tabs) { _container = tabs; }
/// <summary> /// 测试初始化 /// </summary> public TabNavTest(ITestOutputHelper output) { _output = output; _component = new TabNav(new StringWriter()); }