Exemplo n.º 1
0
        public override void VisitResourceCollection(ResourceCollection resources)
        {
            for (int i = 0; i < resources.Count; i++)
            {
                if (i > 0)
                {
                    m_writer.WriteLine();
                }

                Resource r = resources [i];
                WriteResourceHeader(r);
                m_writer.OpenBlock();
                r.Accept(this);
                m_writer.CloseBlock();
            }
        }
 private void BuildResource(DynamicModule module, Resource resource)
 {
     resource.Accept(new DynamicResourceBuilder(module));
 }