Karmencita - object query language for .NET(voidsoft.ro)
submitted by
Marius(80) 6 years, 2 months ago
Karmencita is an object query language for .NET . It's purpose is to allow easy querying from in memory structured data.
Here is some sample code :
// get an array of running processes
Process[] proc = Process.GetProceses();
// initialize Karmencita with the type of object to be queries
ObjectQuery<Process> oq = new ObjectQuery<Process>();
// write the query
string query = "BasePriority > 3 and Responding = true and MainWindowTitle Like C%";
//run the query
Process[] processes = (Process[]) oq.Select(proc, query);
|category: C#
|Views: 2
tags:
another
Everyones tags:
No tags
Your Tags: