Example #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 VisualStudioSetupPropertyStore(ISetupPropertyStore setupPropertyStore)
 {
     _setupPropertyStore = setupPropertyStore;
 }