ApplyModelFromFile

void ITopController.ApplyModelFromFile(string filename, ISubController[] subControllers)

Replaces the specified sub-controllers with new instances based on the model contained in the XML controller description file.

Parameters
  • filename – String containing the path to a file containing the XML controller description that contains the model to apply to the specified sub-controllers.

  • subControllers – Collection of sub-controllers that the XML model should be applied on.

Throws