@@ -65,9 +65,9 @@ There are four parts:
65651 . `RegisterAssemblyPublicNonGenericClasses `, which finds all the classes .
66662 . An options `Where ` method , which allows you to filter the classes to be considered .
67673 . The `AsPublicImplementedInterfaces ` method which finds ant interfaces on a class and registers those interfaces as pointing to the class .
68- 4 . Various attributes that you can add to your classes to :
68+ 4 . Various attributes that you can add to your classes to tell ` NetCore . AutoRegisterDi ` what to do :
6969 i ) Set the `ServiceLifetime ` of your class , e .g . `[RegisterAsSingleton ]` to apply a `Singleton ` lifetime to your class .
70- ii ) A `[DoNotAutoRegister ]` attribute to stop your class from being registered with the DI .
70+ ii ) A `[DoNotAutoRegister ]` attribute to stop library your class from being registered with the DI .
7171
7272
7373#### 1. The `RegisterAssemblyPublicNonGenericClasses` method
@@ -111,10 +111,10 @@ on what lifetime (and other terms) means.*
111111
112112Fedor Zhekov , (GitHub @ZFi88 ) added attributes to allow you to define the `ServiceLifetime ` of your class , and also exclude your class from being registered with the DI .
113113
114- Here are the attributes that sets the `ServiceLifetime ` to be used when your class is registered with the DI .
114+ Here are the attributes that sets the `ServiceLifetime ` to be used when ` NetCore . AutoRegisterDi ` registers your class with the DI .
115115
1161161 . `[RegisterAsSingleton ]` - Singleton lifetime .
1171172 . `[RegisterAsTransient ]` - Transient lifetime .
1181183 . `[RegisterAsScoped ]` - Scoped lifetime .
119119
120- The last attribute is `[DoNotAutoRegister ]`, which stops that class being registered with the DI .
120+ The last attribute is `[DoNotAutoRegister ]`, which stops ` NetCore . AutoRegisterDi ` registered that class with the DI .
0 commit comments