| 1234567891011121314151617181920212223242526272829 |
- using Microsoft.AspNetCore.Http;
- namespace LAPS_XMLQC_Service.Models
- {
- public class SearchRequest : RegexOption
- {
- public string DirectoryPath { get; set; }
- public string SearchTerm { get; set; }
- public string ReplacementText { get; set; }
- public string FileType { get; set; }
- }
- public class UploadRequest : RegexOption
- {
- public IFormFileCollection Files { get; set; }
- public string SearchTerm { get; set; }
- public string FileType { get; set; }
- }
- public class RegexOption
- {
- public bool CaseInsensitive { get; set; } = false;
- public bool SingleLine { get; set; } = false;
- public bool MultiLine { get; set; } = false;
- public bool IgnoreWhitespace { get; set; } = false;
- public bool ExplicitCapture { get; set; } = false;
- }
- }
|