public void OnAfterInitialize(ITypeDiscoveryContext discoveryContext, DefinitionBase?definition, IDictionary <string, object?> contextData) { if (definition is T casted) { _onAfterInitialize?.Invoke(discoveryContext, casted, contextData); } }
public void OnAfterRegisterDependencies( ITypeDiscoveryContext discoveryContext, DefinitionBase?definition, IDictionary <string, object?> contextData) { if (definition is T casted) { _onAfterRegisterDependencies?.Invoke(discoveryContext, casted, contextData); } }
public void OnBeforeRegisterDependencies( ITypeDiscoveryContext discoveryContext, DefinitionBase?definition, IDictionary <string, object?> contextData) => _onBeforeRegisterDependencies?.Invoke(discoveryContext, definition, contextData);
public void OnAfterInitialize( ITypeDiscoveryContext discoveryContext, DefinitionBase?definition, IDictionary <string, object?> contextData) => _onAfterInitialize?.Invoke(discoveryContext, definition, contextData);