This repository was archived by the owner on Feb 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Defaults
Jacopo edited this page Mar 7, 2021
·
3 revisions
Table of Contents
V3 is going to be deprecated soon.
| method | option | type | value |
|---|---|---|---|
| RegisterEntryAssembly | register | bool | true |
| RegisterWrapperAsService | register | bool | true |
| InjectionVersioningMethod | targetMethod | ServedVersion TargetingMethod | None |
| @override | bool | false | |
| InjectionServingMethod | methods | ServingMethods | (Fields|Properties|Strict) |
| @override | bool | false | |
| TrackInstantiationDiff | track | bool | false |
| callDispose | bool | false | |
| WhenNoMoreTasks | waitingMethod | AsyncWaitingMethod | Exit |
| waitTime | int | 1000 | |
| ServeIEnumerables | serve | bool | true |
used when you want to use [Ignored] rather than [Served] on properties everywhere.
Modification from the Standard settings:
| method | option | type | value |
|---|---|---|---|
| InjectionServingMethod | methods | ServingMethods | (Fields|Properties) |
| @override | bool | true |
settings in v4 differ from v3 in that they are modular.
-
Default
option value MaskOptions Disabled InjectionOptions Default RuntimeOptions Default -
BySubtraction
option value MaskOptions Disabled InjectionOptions Default .ServingMethods(DefaultConstants.ServeAll, true)RuntimeOptions Default
public sealed class Mask : HashSet<Type>, IOption- WhiteList
- BlackList
- Disabled
public sealed class Runtime : IOption-
Default
method option type value WhenNoMoreTasks waitingMethod AsyncWaitingMethodExitwaitTime int 500
public sealed class Injection : -
Default
method value VersioningMethod( ServedVersionTargetingMethod, bool)None, falseServingMethod( ServingMethods,bool)Properties|Fields|Strict,falseRemoveUnusedTypesAfterInjection(bool) false LimitInstancesCount(uint) 128 ServeIEnumerables(bool) true TrackInstantiationDiff(bool,bool) false,false
| property | type | value |
|---|---|---|
| Version | double | -0.0 |
| Pattern | InstantiationPattern | Singleton |
| Serving | ServingMethod | unset |
| property | type | value |
|---|---|---|
| TargetVersion | double | 0.0 |
| TargetingMethod | ServedVersionTargetingMethod | unset |