|
|
|
@ -121,6 +121,14 @@ internal abstract class RegistrationBase : IRegistrationBase, IWithFactoryIntern |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
internal void AddGeneratedFactory<TFactory>(TFactory generatedFactory) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
TypedFactory<TFactory> factory = new(generatedFactory); |
|
|
|
|
|
|
|
Factory = factory; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_container.RegisterFactory(factory); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// Register a custom implemented factory for the <see cref="IRegistrationBase"/> |
|
|
|
/// Register a custom implemented factory for the <see cref="IRegistrationBase"/> |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
|