public static emitAndLoad ( |
||
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;
}