Пример #1
0
        public void SetupDebugDocument(DebugMenuDocument document, out string title)
        {
            title = "Command daemon";

            var servants  = new DaemonOverseerSection <CommandDaemon, CommandServant>();
            var receivers = new LiveReceiverSection("Live receivers");

            document.AddSections(servants);
            document.AddSections(receivers);
        }
Пример #2
0
        public void SetupDebugDocument(DebugMenuDocument document, out string title)
        {
            title = "Content Registry";

            var servants = new DaemonOverseerSection <ContentRegistryDaemon, ContentRegistryServant>();
            var machine  = new DelegateTriggerMachineSection <ContentRegistryDaemon, InternalMachine, Trigger, EnumComparer>();
            var content  = new ContentRegistrySection();

            document.AddSections(servants);
            document.AddSections(machine);
            document.AddSections(content);
        }