Пример #1
0
        public static O2Object ctor(Assembly assembly, string typeOfObjectToCreate, object[] constructorArguments)
        {
            var o2Object = new O2Object(assembly, typeOfObjectToCreate,
                                        PublicDI.reflection.getRealObjects(constructorArguments));

            return((o2Object.Obj != null) ? o2Object : null);
        }
Пример #2
0
        public O2Object ctor(string typeToCreate, object[] constructorArguments)
        {
            var o2Object = new O2Object(Assembly, typeToCreate, PublicDI.reflection.getRealObjects(constructorArguments));

            if (o2Object.Obj != null)
            {
                return(o2Object);
            }

            return(null);
        }