private static string ResolveSnippetPageUrl(KendoLibrary library, string componentName) { return(library switch { KendoLibrary.JQuery => componentName.ToLowerInvariant(), KendoLibrary.AspNetMvc => $"https://demos.telerik.com/aspnet-mvc/{componentName.ToLowerInvariant()}", KendoLibrary.AspNetCore => $"https://demos.telerik.com/aspnet-core/{componentName.ToLowerInvariant()}", _ => $"https://atata-kendoui-{library.ToString().ToLowerInvariant()}-{componentName.ToLowerInvariant()}.stackblitz.io", });
private static string ResolveSnippetPageUrl(KendoLibrary library, string componentName) { switch (library) { case KendoLibrary.JQuery: return(componentName.ToLowerInvariant()); case KendoLibrary.AspNetMvc: return($"https://demos.telerik.com/aspnet-mvc/{componentName.ToLowerInvariant()}"); case KendoLibrary.AspNetCore: return($"https://demos.telerik.com/aspnet-core/{componentName.ToLowerInvariant()}"); default: return($"https://atata-kendoui-{library.ToString().ToLowerInvariant()}-{componentName.ToLowerInvariant()}.stackblitz.io"); } }