示例#1
0
        static void Main(string[] args)
        {
            Console.Title = "Fluint SDK";
            Console.WriteLine("Started Fluint SDK.");
            var packet = ModulesManager.LoadFolder("base").GenerateModulePacket();

            new SDKBase(packet).Listen();
        }
示例#2
0
        public static void Start()
        {
            var collection = ModulesManager.LoadFolder(GetManifest().ActiveFolder);
            var packet     = collection.GenerateModulePacket();

            var taskManager = packet.CreateScoped <ITaskManager>();

            taskManager.Invoke(TaskSchedule.Startup, null);
            taskManager.Invoke(TaskSchedule.Background, null);
        }