示例#1
0
        public void Visit(IVisitor visitor, CAssemblyInfo assemblyInfo)
        {
            _codeWriter.WriteLine($"using System.Reflection;");
            _codeWriter.WriteLine($"using System.Runtime.InteropServices;");

            _codeWriter.WriteLine($@"[assembly: AssemblyCompany(""{assemblyInfo.AssemblyCompany}"")]");
            _codeWriter.WriteLine($@"[assembly: AssemblyVersion(""{assemblyInfo.AssemblyVersion}"")]");
        }
 public void Visit(CAssemblyInfo assemblyInfo)
 {
     _classVisitor.CodeWriter.Clear();
     _assemblyInfoVisitor.Visit(this, assemblyInfo);
 }