using System; using System.Collections.Generic; using IKVM.Reflection; using Type = IKVM.Reflection.Type; namespace Embeddinator { public class Generator { public virtual void Process (IEnumerable assemblies) { } public virtual void Generate (IEnumerable assemblies) { foreach (var a in assemblies) { Generate (a); } } protected virtual void Generate (Assembly a) { foreach (var t in a.GetTypes ()) { if (!t.IsPublic) continue; Generate (t); } } protected virtual void Generate (Type t) { } protected virtual void Generate (PropertyInfo pi) { } protected virtual void Generate (MethodInfo mi) { } public virtual void Write (string outputDirectory) { } } }