From 46669f0fc4a7c4ba8f66cb416540980a23e959bb Mon Sep 17 00:00:00 2001 From: ColdForeign Date: Fri, 2 Aug 2024 20:54:18 +0300 Subject: [PATCH] Fix formatting --- src/Cropper.Blazor/Client/Components/Docs/DocsApi.razor.cs | 2 +- src/Cropper.Blazor/Client/Shared/SeoHeader.razor.cs | 2 +- .../Extensions/XmlDocumentationExtension.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Cropper.Blazor/Client/Components/Docs/DocsApi.razor.cs b/src/Cropper.Blazor/Client/Components/Docs/DocsApi.razor.cs index 319b4621..a314577a 100644 --- a/src/Cropper.Blazor/Client/Components/Docs/DocsApi.razor.cs +++ b/src/Cropper.Blazor/Client/Components/Docs/DocsApi.razor.cs @@ -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() != null && eventCallbackInfo.GetCustomAttribute() == null; diff --git a/src/Cropper.Blazor/Client/Shared/SeoHeader.razor.cs b/src/Cropper.Blazor/Client/Shared/SeoHeader.razor.cs index 9918cb02..9fee1fba 100644 --- a/src/Cropper.Blazor/Client/Shared/SeoHeader.razor.cs +++ b/src/Cropper.Blazor/Client/Shared/SeoHeader.razor.cs @@ -59,7 +59,7 @@ private string GetKeywords() "blazor image cropper", "blazor resize image", "blazor photo resizer", - ..Keywords + .. Keywords ]; return string.Join(", ", keywords); diff --git a/src/Cropper.Blazor/Cropper.Blazor.Shared/Extensions/XmlDocumentationExtension.cs b/src/Cropper.Blazor/Cropper.Blazor.Shared/Extensions/XmlDocumentationExtension.cs index 24b116da..43834027 100644 --- a/src/Cropper.Blazor/Cropper.Blazor.Shared/Extensions/XmlDocumentationExtension.cs +++ b/src/Cropper.Blazor/Cropper.Blazor.Shared/Extensions/XmlDocumentationExtension.cs @@ -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; }