示例#1
0
        internal static void IsDecorator(
            Container container, Type serviceType, Type decoratorType, string paramName)
        {
            ConstructorInfo decoratorConstructor = container.Options.SelectConstructor(decoratorType);

            Requires.DecoratesServiceType(serviceType, decoratorConstructor, paramName);
        }