You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Interactive.cshtml.cs 572 B

123456789101112131415161718192021222324
  1. using LLama.Web.Models;
  2. using Microsoft.AspNetCore.Mvc;
  3. using Microsoft.AspNetCore.Mvc.RazorPages;
  4. using Microsoft.Extensions.Options;
  5. namespace LLama.Web.Pages
  6. {
  7. public class InteractiveModel : PageModel
  8. {
  9. private readonly ILogger<InteractiveModel> _logger;
  10. public InteractiveModel(ILogger<InteractiveModel> logger, IOptions<LLamaOptions> options)
  11. {
  12. _logger = logger;
  13. Options = options.Value;
  14. }
  15. public LLamaOptions Options { get; set; }
  16. public void OnGet()
  17. {
  18. }
  19. }
  20. }