public MojoController( ITopoMojoClient mojo, IOptions <Options> options ) { Mojo = mojo; Options = options.Value; }
public GradingService( ILogger <GradingService> logger, IOptions <Options> options, IGameRepository repository, ITopoMojoClient mojo ) : base(logger, options, repository) { Mojo = mojo; }
public ProblemService( ILogger <ProblemService> logger, IOptions <Options> options, IGameRepository repository, StatsService statsService, ITopoMojoClient mojoClient ) : base(logger, options, repository) { Mojo = mojoClient; Macros = new List <Macro>(); Stats = statsService; Deserializer = new DeserializerBuilder() .WithNamingConvention(new CamelCaseNamingConvention()) .IgnoreUnmatchedProperties() .Build(); }