示例#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
        internal static void Unregister(DebugMenuDocument menuDocument)
        {
            var instance = Instance;

            if (instance == null)
            {
                return;
            }

            instance.documents.Remove(menuDocument);
        }
示例#3
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);
        }
示例#4
0
        public override void SetupDebugDocument(DebugMenuDocument document)
        {
            var section = new LocalRegistrySection(this, "Local Servant");

            document.AddSections(section);
        }
示例#5
0
 public virtual void SetupDebugDocument(DebugMenuDocument document)
 {
 }
示例#6
0
        public override void SetupDebugDocument(DebugMenuDocument document)
        {
            var section = new AddressableRegistrySection(this, "Addressable Servant");

            document.AddSections(section);
        }