Exemplo n.º 1
0
 public MojoController(
     ITopoMojoClient mojo,
     IOptions <Options> options
     )
 {
     Mojo    = mojo;
     Options = options.Value;
 }
Exemplo n.º 2
0
 public GradingService(
     ILogger <GradingService> logger,
     IOptions <Options> options,
     IGameRepository repository,
     ITopoMojoClient mojo
     ) : base(logger, options, repository)
 {
     Mojo = mojo;
 }
Exemplo n.º 3
0
 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();
 }