コード例 #1
0
ファイル: Program.cs プロジェクト: birdoxer/aras-to-uml
        /// <summary>
        ///     Initiates the export of the data model from Aras.
        /// </summary>
        /// <param name="options">The <see cref="ArgOptions"/> the program was started with.</param>
        /// <returns>An <see cref="ArasExport"/> object that holds the exported data model.</returns>
        private static ArasExport PerformArasExport(ArgOptions options)
        {
            var arasExport = new ArasExport(options);

            arasExport.RunExport();
            arasExport.SplitAllItemTypes();
            return(arasExport);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: birdoxer/aras-to-uml
        /// <summary>
        ///     Initiates the Aras export and .dot graph creation and export.
        /// </summary>
        /// <remarks>
        ///     Only gets called if the command line arguments were parsed successfully.
        /// </remarks>
        /// <param name="options">The <see cref="ArgOptions"/> the program was started with.</param>
        private static void RunOptionsAndPerformLogic(ArgOptions options)
        {
            var arasExport   = PerformArasExport(options);
            var graphCreator = new GraphCreator(arasExport);

            graphCreator.CreateGraph(options.RelsAsClasses);
            graphCreator.ExportGraph(options.FilePath ?? @"C:\temp\temp.dot");
        }