Fanx.Emit.FTypeEmit.emitAndLoad C# (CSharp) Méthode

emitAndLoad() public static méthode

public static emitAndLoad ( FType ftype ) : System.Type[]
ftype Fanx.Fcode.FType
Résultat System.Type[]
        public static System.Type[] emitAndLoad(FType ftype)
        {
            string className = ftype.m_pod.nname(ftype.m_self);
              Assembly assembly = emitPod(ftype.m_pod, true, null);

              FTypeEmit[] emitted = (FTypeEmit[])ftypes[ftype];
              System.Type[] types = new System.Type[emitted.Length];
              for (int i=0; i<emitted.Length; i++)
              {
            FTypeEmit e = emitted[i];
            types[i] = assembly.GetType(e.className);
              }

              return types;
        }