Exemple #1
0
    protected override IMyRepositoty CreateInstance(IContext context)
    {
        ISomeSetting setting = context.Kernel.Get <ISomeSetting>()
                               var path = setting.Path;

        return(CreateInstance(path));
    }
Exemple #2
0
 public MyRepository(ISomeSetting setting)