IFieldInfo.cs 604 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // System.Runtime.Serialization.Formatters.IFieldInfo
  3. //
  4. // Author:
  5. // David Dawkins ([email protected])
  6. //
  7. // (C) David Dawkins
  8. //
  9. namespace System.Runtime.Serialization.Formatters {
  10. /// <summary>
  11. /// Interface for querying field information on serialized objects.</summary>
  12. public interface IFieldInfo {
  13. /// <summary>
  14. /// Get or set the field names for serialized objects.</summary>
  15. string[] FieldNames {
  16. get;
  17. set;
  18. }
  19. /// <summary>
  20. /// Get or set the field types for serialized objects.</summary>
  21. Type[] FieldTypes {
  22. get;
  23. set;
  24. }
  25. }
  26. }