예제 #1
0
        public ISpecification GetSpecification(string id)
        {
            if (_cache.ContainsKey(id))
            {
                return(_cache[id]);
            }
            var specNode = _xmlSource.GetSpecificationXml(id);

            return(_cache[id] = _builder.Compile(specNode, false));
        }
 public ISpecification Compile(XmlElement containingNode)
 {
     return(_compiler.Compile(containingNode, false));
 }