/// <summary> /// 创建工厂。 /// </summary> /// <typeparam name="TResult">返回数据类型。</typeparam> /// <returns></returns> public Func <object, TResult> Create <TResult>(Type sourceType) => Nested <TResult> .Create(this, sourceType ?? throw new ArgumentNullException(nameof(sourceType)));