24 instantiations of XslTransformation
Microsoft.Build.Tasks.UnitTests (24)
71 references to XslTransformation
Microsoft.Build.Tasks.UnitTests (71)
XslTransformation_Tests.cs (71)
102List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
103List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
112XslTransformation t = new XslTransformation();
115XslTransformation.XmlInput.XmlModes xmlKey = xmlInputs[xmi].Key;
117XslTransformation.XsltInput.XslModes xslKey = xslInputs[xsi].Key;
122case XslTransformation.XmlInput.XmlModes.Xml:
125case XslTransformation.XmlInput.XmlModes.XmlFile:
135case XslTransformation.XsltInput.XslModes.Xslt:
138case XslTransformation.XsltInput.XslModes.XsltFile:
141case XslTransformation.XsltInput.XslModes.XsltCompiledDll:
167List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
168List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
175XslTransformation t = new XslTransformation();
179XslTransformation.XmlInput.XmlModes xmlKey = xmlInputs[xmi].Key;
183case XslTransformation.XmlInput.XmlModes.Xml:
186case XslTransformation.XmlInput.XmlModes.XmlFile:
213List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
214List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
221XslTransformation t = new XslTransformation();
225XslTransformation.XsltInput.XslModes xslKey = xslInputs[xsi].Key;
229case XslTransformation.XsltInput.XslModes.Xslt:
232case XslTransformation.XsltInput.XslModes.XsltFile:
235case XslTransformation.XsltInput.XslModes.XsltCompiledDll:
263List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
264List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
270XslTransformation t = new XslTransformation();
293List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
294List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
300XslTransformation t = new XslTransformation();
327List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
328List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
334XslTransformation t = new XslTransformation();
361List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
362List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
368XslTransformation t = new XslTransformation();
398List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
399List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
405XslTransformation t = new XslTransformation();
434List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
435List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
453XslTransformation t = new XslTransformation();
488List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
489List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
495XslTransformation t = new XslTransformation();
581XslTransformation t = new XslTransformation();
613List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs;
614List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs;
620XslTransformation t = new XslTransformation();
646XslTransformation t = new XslTransformation();
675XslTransformation t = new XslTransformation();
731XslTransformation t = new XslTransformation();
764XslTransformation t = new XslTransformation();
799XslTransformation t = new XslTransformation();
830XslTransformation t = new XslTransformation();
870XslTransformation t = new XslTransformation();
963XslTransformation t = new XslTransformation();
1014XslTransformation t = new XslTransformation();
1026XslTransformation t = new XslTransformation();
1072XslTransformation t = new XslTransformation();
1105private void Prepare(out string dir, out TaskItem[] xmlPaths, out TaskItem xslPath, out TaskItem xslCompiledPath, out TaskItem[] outputPaths, out List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>> xmlInputs, out List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>> xslInputs, out MockEngine engine)
1127xmlInputs = new List<KeyValuePair<XslTransformation.XmlInput.XmlModes, object>>();
1128xslInputs = new List<KeyValuePair<XslTransformation.XsltInput.XslModes, object>>();
1130xmlInputs.Add(new KeyValuePair<XslTransformation.XmlInput.XmlModes, object>(XslTransformation.XmlInput.XmlModes.Xml, _xmlDocument));
1131xmlInputs.Add(new KeyValuePair<XslTransformation.XmlInput.XmlModes, object>(XslTransformation.XmlInput.XmlModes.XmlFile, xmlPaths));
1133xslInputs.Add(new KeyValuePair<XslTransformation.XsltInput.XslModes, object>(XslTransformation.XsltInput.XslModes.Xslt, _xslDocument));
1134xslInputs.Add(new KeyValuePair<XslTransformation.XsltInput.XslModes, object>(XslTransformation.XsltInput.XslModes.XsltFile, xslPath));