/// <summary> /// Execute the dynamic assembly generated by the XmlILGenerator. /// </summary> private void Execute(object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) { Debug.Assert(results != null); // Ensure that dataSources is always non-null if (dataSources == null) { dataSources = XmlNullResolver.Singleton; } _delExec(new XmlQueryRuntime(_staticData, defaultDocument, dataSources, argumentList, results)); }
private void Execute(object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) { if (dataSources == null) { dataSources = XmlNullResolver.Singleton; } this.delExec(new XmlQueryRuntime(this.staticData, defaultDocument, dataSources, argumentList, results)); }
/// <summary> /// Execute the dynamic assembly generated by the XmlILGenerator. /// </summary> private void Execute(object defaultDocument, XmlResolver?dataSources, XsltArgumentList?argumentList, XmlSequenceWriter results) { Debug.Assert(results != null); // Ensure that dataSources is always non-null dataSources ??= XmlResolver.ThrowingResolver; _delExec(new XmlQueryRuntime(_staticData, defaultDocument, dataSources, argumentList, results)); }
/// <summary> /// Execute the dynamic assembly generated by the XmlILGenerator. /// </summary> private void Execute(object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) { Debug.Assert(results != null); // Set up message sink this.onMessage = argumentList != null ? argumentList.xsltMessageEncountered : null; // Ensure that dataSources is always non-null if (dataSources == null) { dataSources = XmlNullResolver.Singleton; } this.delExec(new XmlQueryRuntime(this, defaultDocument, dataSources, argumentList, results)); }