Bifrost.FluentValidation.Commands.CommandValidatorProvider.GetValidatedType C# (CSharp) Method

GetValidatedType() private method

private GetValidatedType ( Type typeToRegister ) : Type
typeToRegister System.Type
return System.Type
        Type GetValidatedType(Type typeToRegister)
        {
            Type validatedType = null;
            validatedType = GetGenericParameterType(typeToRegister, typeof (IValidateInput<>));
            return validatedType ?? GetGenericParameterType(typeToRegister, typeof (IValidateBusinessRules<>));
        }