FileGenerator.Drawables.PathsGenerator.WritePaths C# (CSharp) 메소드

WritePaths() 개인적인 메소드

private WritePaths ( ) : void
리턴 void
    private void WritePaths()
    {
      WriteLine(@"[System.CodeDom.Compiler.GeneratedCode(""Magick.NET.FileGenerator"", """")]");
      WriteLine("public sealed partial class Paths");
      WriteStartColon();

      foreach (var path in Types.GetPaths())
      {
        WritePath(path);
      }

      WriteEndColon();
    }

Usage Example

예제 #1
0
 public static void Generate()
 {
   PathsGenerator generator = new PathsGenerator();
   generator.CreateWriter(PathHelper.GetFullPath(@"Magick.NET\Core\Drawables\Paths\Generated\Paths.cs"));
   generator.WriteStart("ImageMagick");
   generator.WritePaths();
   generator.WriteEnd();
   generator.CloseWriter();
 }
All Usage Examples Of FileGenerator.Drawables.PathsGenerator::WritePaths