上一页 1 2 3 4 5 6 ··· 67 下一页
摘要: ![](https://img2023.cnblogs.com/blog/196558/202309/196558-20230903000250454-1044355921.png) 阅读全文
posted @ 2023-09-03 00:03 【唐】三三 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Rxjs基础 //Observable(可观察者):表示未来(future)值或事件的可调用集合的概念。 const observable = new Observable((subscriber) => { setTimeout(() => { subscriber.next({ name: '张 阅读全文
posted @ 2023-09-01 23:56 【唐】三三 阅读(95) 评论(0) 推荐(0) 编辑
摘要: # 入门 引入 HttpClientModule 模块 ```typescript //app.module.ts import { HttpClientModule } from '@angular/common/http'; @NgModule({ imports: [ HttpClientMo 阅读全文
posted @ 2023-09-01 23:24 【唐】三三 阅读(27) 评论(0) 推荐(0) 编辑
摘要: # # 第 2 章 第一个 Angular 程序 ## 添加第三方库(全局范围) ``` npm install bootstrap ``` ![](https://img2023.cnblogs.com/blog/196558/202308/196558-20230814224111580-857 阅读全文
posted @ 2023-08-14 22:43 【唐】三三 阅读(30) 评论(0) 推荐(0) 编辑
摘要: # ko.utils 大全 `ko.utils` 是 KnockoutJS 中的一个工具类,它提供了一些实用的方法来处理数组、字符串和 DOM 元素等。这些方法可以分为以下几类: ## 数组处理 这类方法用于处理数组,包括遍历、过滤、查找、映射和删除等操作。例如:ko.utils.arrayForE 阅读全文
posted @ 2023-07-11 17:20 【唐】三三 阅读(48) 评论(0) 推荐(0) 编辑
摘要: # xUnit ![](https://img2023.cnblogs.com/blog/196558/202307/196558-20230711133635380-5474221.png) Official Website https://xunit.net/ Tutorials (Chines 阅读全文
posted @ 2023-07-10 14:58 【唐】三三 阅读(25) 评论(0) 推荐(0) 编辑
摘要: ## 属性 | NUnit 3.x | MSTest 15.x | xUnit.net 2.x | 评论 | | | | | | | `[Test]` | `[TestMethod]` | `[Fact]` | 标记测试方法。 | | `[TestFixture]` | `[TestClass]` 阅读全文
posted @ 2023-07-10 14:25 【唐】三三 阅读(17) 评论(0) 推荐(0) 编辑
摘要: # 测试常用方法 ```csharp // 准备 Mock IFoo 接口 var mock = new Mock(); // 配置准备模拟的方法,当调用接口中的 DoSomething 方法,并传递参数 "bing" 的时候,返回 true mock.Setup(foo => foo.DoSome 阅读全文
posted @ 2023-07-08 19:02 【唐】三三 阅读(177) 评论(0) 推荐(0) 编辑
摘要: # grid-template-column 和 grid-template-rows ![](https://img2023.cnblogs.com/blog/196558/202306/196558-20230630220041805-355624603.png) 这2个属性都支持 [],它们代 阅读全文
posted @ 2023-06-30 16:30 【唐】三三 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 通过在 App / widgets / {your-widget-name} 添加 viewmodel.js 和 view.html 文件来创建小部件 为了利用Durandal的默认小部件支持,我们需要安装插件并以特定的方式组织小部件代码。首先,让我们安装插件。下面是 main.js 的样子 def 阅读全文
posted @ 2023-05-15 11:16 【唐】三三 阅读(7) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 67 下一页