예제 #1
0
        public static void Run(Node node)
        {
            var type = node.GetType();

            foreach (var target in Targets.GetTargets(type))
            {
                var installed = Search(node, new SearchParameters(target.Attribute, target.Accessor));
                if (installed == null)
                {
                    continue;
                }

                target.Accessor.Set(node, installed);
            }
        }