ComponentDescriptor<S>
using Castle.Core;
using Castle.Core.Configuration;
namespace Castle.MicroKernel.Registration
{
public abstract class ComponentDescriptor<S>
{
private ComponentRegistration<S> registration;
protected internal ComponentRegistration<S> Registration {
get {
return registration;
}
set {
registration = value;
}
}
protected bool IsOverWrite => registration.IsOverWrite;
protected internal virtual void ApplyToConfiguration(IKernel kernel, IConfiguration configuration)
{
}
protected internal virtual void ApplyToModel(IKernel kernel, ComponentModel model)
{
}
}
}