/ .. / / -> download
using System;
using S1kdTools;

/* Applicability filtering */

public class Test
{
	public static void Main(string[] args)
	{
		CsdbObject dm = new CsdbObject("test.xml");
		Applicability app = new Applicability();

		app.Assign("version", "prodattr", "A");

		Console.WriteLine(dm.Filter(app, FilterMode.Default).XmlDocument.OuterXml);
		Console.WriteLine(dm.Filter(app, FilterMode.Reduce).XmlDocument.OuterXml);
		Console.WriteLine(dm.Filter(app, FilterMode.Simplify).XmlDocument.OuterXml);
		Console.WriteLine(dm.Filter(app, FilterMode.Prune).XmlDocument.OuterXml);
	}
}


/ gopher://khzae.net/0/s1000d/s1kd-tools/src/tools/libs1kd/bindings/csharp/tests/instance/Test.cs
Styles: Light Dark Classic