Exemple #1
0
 protected virtual bool TypeMatches(MethodParameterApiDescriptionModel actionParameter, ParameterInfo methodParameter)
 {
     return(NormalizeTypeName(actionParameter.TypeAsString) ==
            NormalizeTypeName(methodParameter.ParameterType.GetFullNameWithAssemblyName()));
 }
Exemple #2
0
 protected virtual bool TypeMatches(MethodParameterApiDescriptionModel actionParameter, ParameterInfo methodParameter)
 {
     return(actionParameter.Type.ToUpper() == TypeHelper.GetFullNameHandlingNullableAndGenerics(methodParameter.ParameterType).ToUpper());
 }