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