Ejemplo n.º 1
0
        public object ActivateRdExt(Type type)
        {
      #if JET_MODE_ASSERT
            myCurrentActivationChain = myCurrentActivationChain ?? new Queue <Type>();
            myCurrentActivationChain.Clear(); // clear previous attempts to activate different types
      #endif

            // We should register serializer for current type and all of it members to have possibility to get valid serializers for arguments.
            myPolymorphicTypesCatalog?.AddType(type);

            return(ActivateRd(type));
        }