Ejemplo n.º 1
0
        public static bool Constructor(IL2Type il2type, ref IL2Constructor il2constructor)
        {
            if (il2constructor == null)
            {
                il2constructor = il2type.GetConstructors()[0];
            }

            return(il2constructor != null);
        }
Ejemplo n.º 2
0
        public static bool Constructor(Func <IL2Constructor, bool> func, IL2Type il2type, ref IL2Constructor il2constructor)
        {
            if (il2constructor == null)
            {
                il2constructor = il2type.GetConstructor(func);
            }

            return(il2constructor != null);
        }