LogoExtension.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. using JinianNet.JNTemplate;
  2. using Microsoft.Extensions.DependencyInjection;
  3. using System;
  4. using ZR.Common;
  5. namespace ZR.Admin.WebApi.Extensions
  6. {
  7. public static class LogoExtension
  8. {
  9. public static void AddLogo(this IServiceCollection services)
  10. {
  11. Console.ForegroundColor = ConsoleColor.Blue;
  12. var contentTpl = JnHelper.ReadTemplate("", "logo.txt");
  13. var content = contentTpl?.Render();
  14. Console.WriteLine(content);
  15. Console.ForegroundColor = ConsoleColor.Blue;
  16. Console.WriteLine(" 企业使命 : 推动产业进步,创造无限可能。");
  17. Console.WriteLine(" ");
  18. Console.WriteLine(" 企业愿景 : 成为半导体基础产品领域值得信赖的引领者。");
  19. Console.WriteLine(" ");
  20. Console.WriteLine(" 企业核心价值观 : 以客户为中心,以价值创造者为本,持续创新。");
  21. Console.WriteLine(" ");
  22. Console.WriteLine(" 企业经营方针 : 精研需求,技术引领,精益运营,合规高效。");
  23. Console.WriteLine(" ");
  24. Console.WriteLine(" 企业精神 : 创造精良,成就梦想。");
  25. Console.WriteLine(" ");
  26. Console.WriteLine(" 官网地址:https://www.naura.com");
  27. Console.WriteLine(" ");
  28. Console.WriteLine(" Copyright 2023 NAURA 北京七星华创集成电路装备有限公司 All Rights Reserved");
  29. Console.WriteLine(" ");
  30. }
  31. }
  32. }