DynamicProperty.cs 441 B

123456789101112131415161718
  1. using System;
  2. namespace FormulaEnginePoC.DynamicExpressionParse
  3. {
  4. internal class DynamicProperty
  5. {
  6. public DynamicProperty(string name, Type type)
  7. {
  8. if (type == null) throw new ArgumentNullException(nameof(type));
  9. Name = name ?? throw new ArgumentNullException(nameof(name));
  10. Type = type;
  11. }
  12. public string Name { get; }
  13. public Type Type { get; }
  14. }
  15. }