You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
791 B

  1. //----------------------------------------------------------------------------
  2. // Copyright (C) 2004-2021 by EMGU Corporation. All rights reserved.
  3. //----------------------------------------------------------------------------
  4. using System;
  5. namespace Emgu.Util
  6. {
  7. /// <summary>
  8. /// Implement this interface if the object can output code to generate it self.
  9. /// </summary>
  10. public interface ICodeGenerable
  11. {
  12. /// <summary>
  13. /// Return the code to generate the object itself from the specific language
  14. /// </summary>
  15. /// <param name="language">The programming language to output code</param>
  16. /// <returns>The code to generate the object from the specific language</returns>
  17. String ToCode(TypeEnum.ProgrammingLanguage language);
  18. }
  19. }