Пример #1
0
        static TypeInfoTS OnAddTypeExtension(TypeInfoTS ti, Type t)
        {
            foreach (var a in AddTypeExtension.GetInvocationListTyped())
            {
                a(ti, t);
            }

            return(ti);
        }
Пример #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;
        }