Example #1
0
        /// <summary>
        /// Imports the specified export container.
        /// </summary>
        /// <param name="exportContainer">The export container.</param>
        /// <param name="moduleConfigParameters">The module configuration parameters.</param>
        /// <param name="overwrite">if set to <c>true</c> [overwrite].</param>
        /// <param name="messages">The messages.</param>
        /// <returns><c>true</c> if the import was successful; otherwise <c>false</c></returns>
        public bool Import(Development.SDK.Module.Data.Export.ExportContainer[] exportContainer, ref Development.SDK.Module.Data.Kernel.Module.NodeParameter[] moduleConfigParameters, bool overwrite, out Development.SDK.Module.Data.Systems.ReportMessage[] messages)
        {
            // Set default value for the export messages
            messages = new Development.SDK.Module.Data.Systems.ReportMessage[0];

            // TODO: Insert your import methods here if you have a module configuration.

            return(true);
        }
Example #2
0
        /// <summary>
        /// Prepares the information for export.
        /// </summary>
        /// <param name="moduleConfigParameters">The current module configuration parameters.</param>
        /// <returns>The container with the information which dependencies exist for the configurations.</returns>
        public Development.SDK.Module.Data.Export.ExportContainer[] PrepareExport(Development.SDK.Module.Data.Kernel.Module.NodeParameter[] moduleConfigParameters, out Development.SDK.Module.Data.Systems.ReportMessage[] messages)
        {
            // Set default value for the export messages
            messages = new Development.SDK.Module.Data.Systems.ReportMessage[0];

            // TODO: Insert your prepare export methods here if you have a module configuration.

            return(new Development.SDK.Module.Data.Export.ExportContainer[0]);
        }
Example #3
0
        /// <summary>
        /// Exports the specified export identifier path.
        /// </summary>
        /// <param name="exportIdPath">The export identifier path.</param>
        /// <param name="moduleConfigParameters">The module configuration parameters.</param>
        /// <param name="messages">The messages.</param>
        /// <returns>The configuration to be exported as JSON string</returns>
        public string ExportConfiguration(string exportIdPath, Development.SDK.Module.Data.Kernel.Module.NodeParameter[] moduleConfigParameters, out Development.SDK.Module.Data.Systems.ReportMessage[] messages)
        {
            // Set default value for the export messages
            messages = new Development.SDK.Module.Data.Systems.ReportMessage[0];

            // Define string value for json export
            string jsonExport = string.Empty;

            // TODO: Insert your export methods here if you have a module configuration.

            return(jsonExport);
        }