CSharpEmitter.RuntimeField.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Text;
  6. namespace SharpGLTF.CodeGen
  7. {
  8. using SchemaReflection;
  9. partial class CSharpEmitter
  10. {
  11. /// <summary>
  12. /// Represents an field within <see cref="_RuntimeType"/>
  13. /// </summary>
  14. [System.Diagnostics.DebuggerDisplay("Enum: {_Name}")]
  15. class _RuntimeField
  16. {
  17. #region lifecycle
  18. internal _RuntimeField(FieldInfo f) { _PersistentField = f; }
  19. #endregion
  20. #region data
  21. private readonly FieldInfo _PersistentField;
  22. #endregion
  23. #region properties
  24. public string PrivateField { get; set; }
  25. public string PublicProperty { get; set; }
  26. public string CollectionContainer { get; set; }
  27. // MinVal, MaxVal, readonly, static
  28. // serialization sections
  29. // deserialization sections
  30. // validation sections
  31. // clone sections
  32. #endregion
  33. }
  34. }
  35. }