19 lines
774 B
C#
19 lines
774 B
C#
namespace Swan.DependencyInjection {
|
|
/// <summary>
|
|
/// Registration options for "fluent" API.
|
|
/// </summary>
|
|
public sealed class RegisterOptions {
|
|
private readonly TypesConcurrentDictionary _registeredTypes;
|
|
private readonly DependencyContainer.TypeRegistration _registration;
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="RegisterOptions" /> class.
|
|
/// </summary>
|
|
/// <param name="registeredTypes">The registered types.</param>
|
|
/// <param name="registration">The registration.</param>
|
|
public RegisterOptions(TypesConcurrentDictionary registeredTypes, DependencyContainer.TypeRegistration registration) {
|
|
this._registeredTypes = registeredTypes;
|
|
this._registration = registration;
|
|
}
|
|
}
|
|
} |