mirror of
https://github.com/nsnail/ns-ext.git
synced 2025-04-20 00:42:51 +08:00
15 lines
975 B
C#
15 lines
975 B
C#
using System.Text.RegularExpressions;
|
|
|
|
Console.WriteLine(string.Join(Environment.NewLine
|
|
, Regex
|
|
.Matches(File.ReadAllText(@"../assets/res/Ln.resx")
|
|
, "data name=\"(.*?)\"")
|
|
.Select(x => x.Groups[1].Value)
|
|
.Where(x => !Directory
|
|
.GetFiles(@"../src/backend/", "*.cs"
|
|
, new EnumerationOptions {
|
|
RecurseSubdirectories = true
|
|
})
|
|
.Select(File.ReadAllText)
|
|
.Any(y => y.Contains(x)))));
|
|
Console.ReadKey(); |