[CONNECT .NET] ConfigurationManager.IterateThroughVariables missing

The C++ MicroStationAPI provides class ConfigurationManager having method IterateThroughVariables.  The DgnPlatformNET API also provides ConfigurationManager, but it lacks the IterateThroughVariables method.

Is there another way to iterate all configuration variables using a .NET API?

Parents
  • Hi ,

    I just wanted to let you know that one of our developers has been asked to look into this and/or provide a public method to access this functionality if no other work-around is available.

    On the point of a work-around; though not ideal; you could call ConfigurationManager::WriteActiveConfigurationSummary() saving the active session configuration variable map (level, variable name, expanded value) to a (background) file of your choosing and parse it into your own copy of an enumerable list.  Adding a configuration variable session monitor should then provide you notification on what variables are changed so your code could react to changes.

    HTH,
    Bob



Reply
  • Hi ,

    I just wanted to let you know that one of our developers has been asked to look into this and/or provide a public method to access this functionality if no other work-around is available.

    On the point of a work-around; though not ideal; you could call ConfigurationManager::WriteActiveConfigurationSummary() saving the active session configuration variable map (level, variable name, expanded value) to a (background) file of your choosing and parse it into your own copy of an enumerable list.  Adding a configuration variable session monitor should then provide you notification on what variables are changed so your code could react to changes.

    HTH,
    Bob



Children