Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 05 23:59

    z4kn4fein on master

    Fixing doc comments, remove dep… (compare)

  • Dec 03 15:01
    z4kn4fein commented #109
  • Dec 03 14:37
    z4kn4fein commented #109
  • Dec 02 09:59
    z4kn4fein commented #108
  • Dec 02 09:56

    z4kn4fein on master

    Update stale issue/PR action [s… (compare)

  • Dec 02 01:50
    github-actions[bot] closed #108
  • Dec 02 01:50
    github-actions[bot] commented #108
  • Nov 30 11:39
    z4kn4fein commented #109
  • Nov 30 11:38
    z4kn4fein commented #109
  • Nov 30 11:38
    z4kn4fein commented #109
  • Nov 27 16:30
    z4kn4fein commented #109
  • Nov 27 16:05
    z4kn4fein commented #109
  • Nov 27 16:02
    z4kn4fein commented #109
  • Nov 27 15:54
    z4kn4fein commented #109
  • Nov 27 15:53
    z4kn4fein commented #109
  • Nov 27 15:48
    z4kn4fein commented #109
  • Nov 27 15:44
    z4kn4fein commented #109
  • Nov 27 14:54
    z4kn4fein commented #109
  • Nov 27 13:47
    z4kn4fein commented #109
  • Nov 27 01:45
    github-actions[bot] labeled #108
Peter Csajtai
@z4kn4fein
Release v3.4.0:
  • Added the core components of multitenant functionality.
  • Throw ObjectDisposedException when the container or scope is used after disposal.
Peter Csajtai
@z4kn4fein

v3.5.0 - 2021-01-31

  • Assembly scanning:
    • Added option to filter service types and disable self-registration.
    • Recognize generic definitions.
  • Added support to covariant/contravariant generic type resolution.
  • Bugfix: Services with named scope lifetime were not choose right from the registration repo.

v3.5.1 - 2021-02-19

  • Bugfix: When a singleton registration had been replaced with .ReplaceExisting(), the container still used the old instance. #98
Peter Csajtai
@z4kn4fein

v3.6.0 - 2021-02-25

API changes

Added

  • Parameterized factory delegates. Read more. Also, here is the list of the new factory configuration methods.
  • Multiple conditions from the same type are now combined with OR logical operator. Read more.
  • Named version of the .WhenDecoratedServiceIs() decorator condition. Read more.

Deprecated

  • .InjectMember() registration configuration option. .WithDependencyBindig() should be used instead. Read more.

Removed

  • The GetRegistrationOrDefault(type, resolutionContext, name) method of the IRegistrationRepository interface.
  • Some properties of the RegistrationContext class were moved to internal visibility.
Peter Csajtai
@z4kn4fein

v3.6.1 - 2021-03-16

Fixed

  • Lifetime validation for scoped services requested from root scope.
    The validation was executed only at the expression tree building phase, so an already built scoped factory invoked on the root scope was able to bypass the lifetime validation and store the instance as a singleton. Now the validation runs at every request.

v3.6.2 - 2021-04-23

Fixed

  • Rare NullReferenceException on Resolve. z4kn4fein/stashbox#101
  • Decorators having IEnumerable<TDecoratee> dependency were not handled correctly.

v3.6.3 - 2021-05-26

Fixed

Peter Csajtai
@z4kn4fein

v3.6.4 - 2021-08-31

Added

  • Skip() method for UnknownRegistrationConfigurator used to prevent specific types from auto injection. z4kn4fein/stashbox#105
  • Parameterized WithFactory() option for runtime type based registrations and decorators. z4kn4fein/stashbox#105

v4.0.0 - 2021-11-18

Removed

  • .NET 4.0 support.

v4.1.0 - 2021-11-21

Fixed

  • IsRegistered() returns true only when the container has a registration with the given type (and name).
  • CanResolve() returns true only when at least one of the following is true:
    • The given type is registered in the current or one of the parent containers.
    • The given type is a closed generic type and its open generic definition is registered.
    • The given type is a wrapper (IEnumerable<>, Lazy<>, Func<>, or Tuple<>) and the underlying type is registered.
    • The given type is not registered but it's resolvable and the unknown type resolution is enabled.