This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AdminPwaEditor.Web.Client.Components.Base; | |
using Microsoft.AspNetCore.Components; | |
using Microsoft.AspNetCore.Components.Rendering; | |
namespace AdminPwaEditor.Web.Client.Components.Controls; | |
public class HighlightedText : BaseComponent | |
{ | |
[Parameter, EditorRequired] public string Text { get; set; } = ""; | |
[Parameter] public string? Highlight { get; set; } = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ZuperApi.ZohoIntegration.Utils; | |
public class JsonSnakeCaseNamingPolicy : System.Text.Json.JsonNamingPolicy | |
{ | |
public override string ConvertName(string name) => ToSeparatedCase(name, '_'); | |
private enum SeparatedCaseState | |
{ | |
Start, | |
Lower, |