container icon indicating copy to clipboard operation
container copied to clipboard

Remove obsolete class TypeBasedOverride

Open ENikS opened this issue 6 years ago • 0 comments

Description

Class TypeBasedOverride allows targeting overrides to specific type. It creates a wrapper around regular ResolverOverride instance and sets Target during initialization.

Problem

This design creates performance and memory overhead during execution.

Solution

Type ResolverOverride has built in mechanisms to target specific type. The target could be specified either by passing Target parameter to constructor or by calling OnType() method.

Impact

Legacy code requires refactoring.

ENikS avatar Jun 03 '20 16:06 ENikS