using System.Collections.Generic; using System.Reflection; namespace Unity.Pipeline.Commands { /// /// Interface for command discovery mechanism. /// Allows Runtime assembly to discover commands without directly using Editor APIs. /// public interface ICommandDiscovery { /// /// Find all methods marked with CliCommand attribute. /// Implementation uses TypeCache in Editor or reflection fallback in Runtime. /// IEnumerable GetMethodsWithAttribute() where T : System.Attribute; } }