File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: Dependency injection in .NET
33description : Learn how .NET implements dependency injection and how to use it. 
44author : IEvangelist 
55ms.author : dapine 
6- ms.date : 11/12 /2021
6+ ms.date : 12/10 /2021
77ms.topic : overview 
88--- 
99
@@ -161,7 +161,7 @@ public class ExampleService
161161        //  omitted for brevity 
162162
163163
164-     public  ExampleService (IOptions <ExampleService > options )
164+     public  ExampleService (IOptions <ExampleOptions > options )
165165    {
166166        //  omitted for brevity 
167167
@@ -182,7 +182,7 @@ public class ExampleService
182182
183183    public  ExampleService (
184184        ILogger <ExampleService > logger ,
185-         IOptions <ExampleService > options )
185+         IOptions <ExampleOptions > options )
186186    {
187187        //  omitted for brevity 
188188
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments