Esempio n. 1
0
        /// <summary>
        /// Starts the GraphDS command line interface using the given array of command types.
        /// </summary>
        /// <param name="myCommandTypes">The array of command types to load at CLI start-up.</param>
        public static void OpenCLI(this AGraphDSSharp myAGraphDSSharp, params Type[] myCommandTypes)
        {
            var _GraphDBCLI = new GraphCLI(
                                myAGraphDSSharp,
                                myAGraphDSSharp.DatabaseName,
                                myCommandTypes
                              );

            _GraphDBCLI.Run();
        }
Esempio n. 2
0
        /// <summary>
        /// Starts the GraphDS command line interface using the default commands.
        /// </summary>
        public static void OpenCLI(this AGraphDSSharp myAGraphDSSharp)
        {
            var _GraphDBCLI = new GraphCLI(
                                myAGraphDSSharp,
                                myAGraphDSSharp.DatabaseName,
                                typeof(AllBasicFSCLICommands),
                                typeof(AllAdvancedFSCLICommands),
                                typeof(AllBasicDBCLICommands),
                                typeof(AllAdvancedDBCLICommands),
                                typeof(AllGraphDSCLICommands)
                              );

            _GraphDBCLI.Run();
        }
Esempio n. 3
0
 public void SetCLIReference(GraphCLI myGraphCLI)
 {
     _GraphCLI = myGraphCLI;
 }