public object ReadYaml(IParser parser, Type type) { string path = ((Scalar)parser.Current).Value; parser.MoveNext(); return(this.engine.EntityRegistry.GetEntity((long)ConfigurationEntityIdCalculator.Calculate(path))); }
private int GetConfigEntityId(string path) => ConfigurationEntityIdCalculator.Calculate(path);