ParameterExecutorValue.cs 712 B

123456789101112131415161718
  1. namespace Quadarax.Application.QLiberace.Common.Executor
  2. {
  3. public sealed class ParameterExecutorValue : IParametricExecutorValue
  4. {
  5. public string Code { get; }
  6. public string TypeQualifiedName { get;}
  7. public string Value { get; }
  8. public ParameterExecutorValue(string code, string typeQualifiedName, string value)
  9. {
  10. if (string.IsNullOrEmpty(code)) throw new ArgumentNullException(nameof(code));
  11. Code = code;
  12. if (string.IsNullOrEmpty(typeQualifiedName)) throw new ArgumentNullException(nameof(typeQualifiedName));
  13. TypeQualifiedName = typeQualifiedName;
  14. Value = value;
  15. }
  16. }
  17. }