I'm trying to add a binding on third level sub-class but I can't find a proper way to do it. I'm using the Ninject 3.0 and I have following scenario:

```
public class ClassBase 
{
  [Inject]
  public IRepository RepositoryInstance { get; set; }
}

public class ClassA : ClassBase {} 
public class ClassB : ClassA {}

public class RepA : IRepository {}
public class RepB : IRepository {}

```

How do I bind the RepA to ClassBase so ClassA can have that repository, while ClassB should be bound to RepB ?

Thanks