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