Exemplo n.º 1
0
        public object ReadYaml(IParser parser, Type type)
        {
            string path = ((Scalar)parser.Current).Value;

            parser.MoveNext();
            return(this.engine.EntityRegistry.GetEntity((long)ConfigurationEntityIdCalculator.Calculate(path)));
        }
Exemplo n.º 2
0
 private int GetConfigEntityId(string path) =>
 ConfigurationEntityIdCalculator.Calculate(path);