Exemplo n.º 1
0
        static TypeInfoTS OnAddTypeExtension(TypeInfoTS ti, Type t)
        {
            foreach (var a in AddTypeExtension.GetInvocationListTyped())
            {
                a(ti, t);
            }

            return(ti);
        }
Exemplo n.º 2
0
        static TypeInfoTS OnAddTypeExtension(TypeInfoTS ti, Type t)
        {
            if (ti == null)
                return ti;

            foreach (var a in AddTypeExtension.GetInvocationListTyped())
                a(ti, t);

            return ti;
        }