Files
Flypaper/src/Flypaper.Core/Strategies/FileDripStrategy.cs
T
TomandClaude Opus 5.5 a25072e6fb
Build and deploy / build (push) Successful in 1m28s
Build and deploy / deploy (push) Successful in 20s
Add link labyrinth, static robots.txt and robots bait paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:57:52 +01:00

18 lines
575 B
C#

using Flypaper.Core.Abstractions;
using Microsoft.Extensions.Options;
namespace Flypaper.Core.Strategies;
public sealed class FileDripStrategy(
FileProfile profile,
IOptionsMonitor<DripOptions> options,
IRandomSource random,
TimeProvider timeProvider) : DripStrategy(options, random, timeProvider)
{
public override string Name => profile.Name;
public override string MediaType => profile.MediaType;
protected override IEnumerable<string> Content(IRandomSource random, ITrapChannel channel, DripOptions options) => profile.Generate(random);
}