Esempio n. 1
0
        /// <summary>
        /// Exports the model system model to a string.
        /// </summary>
        /// <param name="ms">The model system model to export</param>
        /// <param name="modelSystemAsString">The string to store the results into.</param>
        /// <param name="error">A description of the error if there is one.</param>
        /// <returns>True if successful, false otherwise with description.</returns>
        public bool ExportModelSystemAsString(ModelSystemModel ms, out string modelSystemAsString, ref string error)
        {
            var modelSystem = ms.CloneAsModelSystem(Runtime.Configuration);

            return(Runtime.ModelSystemController.ExportModelSystemAsString(modelSystem, out modelSystemAsString,
                                                                           ref error));
        }