using System.Collections.Generic; namespace SharpDPAPI.Domain { public class ArgumentParserResult { public bool ParsedOk { get; } public Dictionary Arguments { get; } private ArgumentParserResult(bool parsedOk, Dictionary arguments) { ParsedOk = parsedOk; Arguments = arguments; } public static ArgumentParserResult Success(Dictionary arguments) => new ArgumentParserResult(true, arguments); public static ArgumentParserResult Failure() => new ArgumentParserResult(false, null); } }