Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdForeign committed Aug 2, 2024
1 parent 93cc9f6 commit 46669f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Cropper.Blazor/Client/Components/Docs/DocsApi.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private bool CheckIsTwoWayProperty(PropertyInfo propertyInfo)
{
PropertyInfo? eventCallbackInfo = Type.GetProperty(propertyInfo.Name + "Changed");

return eventCallbackInfo != null &&
return eventCallbackInfo != null &&
eventCallbackInfo.PropertyType.Name.Contains("EventCallback") &&
eventCallbackInfo.GetCustomAttribute<ParameterAttribute>() != null &&
eventCallbackInfo.GetCustomAttribute<ObsoleteAttribute>() == null;
Expand Down
2 changes: 1 addition & 1 deletion src/Cropper.Blazor/Client/Shared/SeoHeader.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private string GetKeywords()
"blazor image cropper",
"blazor resize image",
"blazor photo resizer",
..Keywords
.. Keywords
];

return string.Join(", ", keywords);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ string ConvertToCsharpSource(Type type)
}
var correctGeneric = genericParameters.Dequeue();
result += (firstIteration ? string.Empty : ",") +
(correctGeneric.IsGenericParameter
? showGenericParameters ? (firstIteration ? string.Empty : " ") + correctGeneric.Name : string.Empty
(correctGeneric.IsGenericParameter
? showGenericParameters ? (firstIteration ? string.Empty : " ") + correctGeneric.Name : string.Empty
: (firstIteration ? string.Empty : " ") + correctGeneric.ConvertToCSharpSource());
firstIteration = false;
}
Expand Down

0 comments on commit 46669f0

Please sign in to comment.