public override void Initialize(SiteSettings siteSettings) { base.Initialize(siteSettings); sh = new SubtitleHandler(subtitleSource == SubtitleSource.None ? "" : subtitleSource.ToString(), subtitleLanguage.ToString()); }
public override void Initialize(SiteSettings siteSettings) { base.Initialize(siteSettings); sh = new SubtitleHandler(subtitleSource, subtitleLanguages); }
public GenericCommandResult Delete([FromBody] DeleteSubtitleCommand command, [FromServices] SubtitleHandler handler) { return((GenericCommandResult)handler.Handle(command)); }