Exemplo n.º 1
0
    private static void PrintProperties(ISetupPropertyStore store)
    {
        var properties = from name in store.GetNames()
                         orderby name
                         select new { Name = name, Value = store.GetValue(name) };

        foreach (var prop in properties)
        {
            Console.WriteLine($"    {prop.Name}: {prop.Value}");
        }
    }
 public object GetValue(string pwszName) => RunOnMainThread(() => _setupPropertyStore.GetValue(pwszName));