IDynaProperty.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. namespace Quadarax.Foundation.Core.Object.Dynamic
  3. {
  4. /// <summary>
  5. /// Defines the interface for a dynamic property definition.
  6. /// </summary>
  7. /// <remarks>
  8. /// This interface provides access to metadata about a dynamic property,
  9. /// including its name, type, and access modifiers.
  10. /// </remarks>
  11. public interface IDynaProperty
  12. {
  13. /// <summary>
  14. /// Gets the name of the property.
  15. /// </summary>
  16. string Name { get; }
  17. /// <summary>
  18. /// Gets the type of the property.
  19. /// </summary>
  20. Type ValueType { get; }
  21. /// <summary>
  22. /// Gets the accessibility level for reading the property.
  23. /// </summary>
  24. DynaPropertyAccessability GetAccessability { get; }
  25. /// <summary>
  26. /// Gets the accessibility level for writing to the property.
  27. /// </summary>
  28. DynaPropertyAccessability SetAccessability { get; }
  29. }
  30. }