« Test highlightjs » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(Page créée avec « = MySQL = <kode lang='mysql'> # comment -- comment →comment : </kode> = ini = <filebox fn='test.ini'> [section] cle = valeur # comment // comment ; comment </filebox> = Highlight issues = <kode lang='cs'> namespace MyNamespace { // code } // replaced by namespace MyNamespace; // code [Attributes] [Attributes()] [Attributes("xxx")] public interface IInterface { public int MyProperty { get; set; } public List<int> MyProperty2 { get; set; } p... ») |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
= Blazor = | |||
<kode lang='razor'> | |||
<!-- comment --> | |||
@* comment *@ | |||
<input type="text" @bind="Name" /> @* comment *@ <!-- comment --> | |||
@code { | |||
string Name { get; set; } = "Text"; | |||
} | |||
</kode> | |||
<kode lang='blazor'> | |||
<!-- comment --> | |||
@* comment *@ | |||
<input type="text" @bind="Name" /> @* comment *@ <!-- comment --> | |||
@code { | |||
string Name { get; set; } = "Text"; | |||
} | |||
</kode> | |||
<kode lang='cshtml'> | |||
<!-- comment --> | |||
@* comment *@ | |||
<input type="text" @bind="Name" /> @* comment *@ <!-- comment --> | |||
@code { | |||
string Name { get; set; } = "Text"; | |||
} | |||
</kode> | |||
= MySQL = | = MySQL = | ||
<kode lang='mysql'> | <kode lang='mysql'> |
Version du 4 avril 2023 à 09:46
Blazor
<!-- comment --> @* comment *@ <input type="text" @bind="Name" /> @* comment *@ <!-- comment --> @code { string Name { get; set; } = "Text"; } |
Fichier:Blazor.svg | <!-- comment --> @* comment *@ <input type="text" @bind="Name" /> @* comment *@ <!-- comment --> @code { string Name { get; set; } = "Text"; } |
<!-- comment --> @* comment *@ <input type="text" @bind="Name" /> @* comment *@ <!-- comment --> @code { string Name { get; set; } = "Text"; } |
MySQL
# comment -- comment /* comment */ |
ini
test.ini |
[section] cle = valeur # comment // comment ; comment |
Highlight issues
namespace MyNamespace { // code } // replaced by namespace MyNamespace; // code [Attributes] [Attributes()] [Attributes("xxx")] public interface IInterface { public int MyProperty { get; set; } public List<int> MyProperty2 { get; set; } public Task<List<int>> MyProperty2 { get; set; } public MyClass MyProperty3 { get; set; } public void MyMethod() { } public int[] MyMethod1(int[] param) { return 0; } public List<int> MyMethod2(List<int> param) { return new List<int>(); } public Task<List<int[]>> MyMethod2(List<Class[]> param) { var v = 10; var v = new List<int>(); List<int> v = new List<int>(); var v = $"test {test} test"; MyMethod(param1, "param2"); var v = MyMethod(param1, "param2"); return new List<int>(); } } public class MyClass<T> where T : class { } |
// StackPanel stackPanel.SetValue(StackPanel.OrientationProperty, Orientation.Horizontal); // MyEnum enum MyEnum {} // value var value = 0; // CreateMap<D, IEnumerable<FlatD>> cfg.CreateMap<D, IEnumerable<FlatD>>() .ConvertUsing<DToFlatDConverter>(); // Map<IEnumerable<FlatD>> var flatDs = mapper.Map<IEnumerable<FlatD>>(d).ToList(); // IEnumerable IEnumerable<(int groupId, int userId)> groupAndUserList = group.UserIds.Select(x => ValueTuple.Create(group.Id, x)); |