private void ProcessFeatureDescriptor(ShapeTableBuilder builder, FeatureDescriptor featureDescriptor)
        {
            var virtualPath   = featureDescriptor.Extension.Location + "/" + featureDescriptor.Extension.Id + "/Placement.info";
            var placementFile = _placementFileParser.Parse(virtualPath);

            if (placementFile != null)
            {
                ProcessPlacementFile(builder, featureDescriptor, placementFile);
            }
        }
Ejemplo n.º 2
0
        private void ProcessFeatureDescriptor(ShapeTableBuilder builder, FeatureDescriptor featureDescriptor)
        {
            var virtualPath = _fileSystem
                              .GetExtensionFileProvider(featureDescriptor.Extension, _logger)
                              .GetFileInfo("Placement.info");

            var placementFile = _placementFileParser.Parse(virtualPath);

            if (placementFile != null)
            {
                ProcessPlacementFile(builder, featureDescriptor, placementFile);
            }
        }
        public void ParsingMissingFileIsNull()
        {
            var result = _parser.Parse("~/hello.xml");

            Assert.That(result, Is.Null);
        }