using System.Collections.Generic; namespace SharedLibraryCore.Helpers; public class ParsedInputResult { public TResult? Result { get; set; } public string? RawInput { get; set; } public List ErrorMessages { get; set; } = []; public ParsedInputResult WithError(string errorMessage) { ErrorMessages.Add(errorMessage); return this; } }