C#属性注入问题~!@

//属性注入
public IExportLocationRepositoryDemo ExportLocationRepository { get; set; }

    protected override IRepository<ExportLocationInfoDemo> Repository => this.ExportLocationRepository;

如代码所示,为什么在类中用属性注入实现了一个接口的注入,还要重写一个父类的方法对这个接口进行返回呢?直接调用不行吗