公式ページはこちら ASP.NET Core での依存関係の挿入 aspnet/DependencyInjection 実際に私はASP.NET というより、Azure Functions で使うことを想定していますので生の基本的な挙動を理解したいと思っています。 オブジェクトの注入 次のようなクライアントとそのインターフェイスがあるとします。 public interface ISomeClient { string Id { get; set; } } public class SomeClient : ISomeClient { public string Id {get; set;} public SomeClient() { this.Id = Guid.NewGuid().ToString(); } public SomeOption SomeOptions {get; set