BoC.InversionOfControl.SimpleInjector.AllowMultipleConstructorResolutionBehavior.VerifyTypeIsConcrete C# (CSharp) Method

VerifyTypeIsConcrete() private static method

private static VerifyTypeIsConcrete ( Type implementationType ) : void
implementationType System.Type
return void
        private static void VerifyTypeIsConcrete(Type implementationType)
        {
            if (!implementationType.IsAbstract && !implementationType.IsArray && implementationType != typeof(object) && !typeof(Delegate).IsAssignableFrom(implementationType))
            return;
              throw new ActivationException(string.Format("Type {0} should be concrete", implementationType));
        }