Esempio n. 1
0
        public static Dictionary <YamlAssetPath, OverrideType> GenerateOverridesForSerialization(IGraphNode rootNode)
        {
            if (rootNode == null)
            {
                throw new ArgumentNullException(nameof(rootNode));
            }

            var visitor = new OverrideTypePathGenerator();

            visitor.Visit(rootNode);
            return(visitor.Result);
        }
        public static Dictionary<YamlAssetPath, OverrideType> GenerateOverridesForSerialization(IGraphNode rootNode)
        {
            if (rootNode == null) throw new ArgumentNullException(nameof(rootNode));

            var visitor = new OverrideTypePathGenerator();
            visitor.Visit(rootNode);
            return visitor.Result;
        }