public AsyncFactory(IDependency x, IDependency2 y) { CreateAsync = async() => new AppModel(x.CalculateA(await y.CalculateB())); }
public AsyncFactory(IDependency x, IDependency2 y) : base(async() => new AppModel(x.CalculateA(await y.CalculateB()))) { }