Beispiel #1
0
 public XsltTask(IBSharpProject project, XElement definition)
 {
     this.Project       = project;
     this.TemplateUri   = new Uri(definition.Attr("template"));
     this.ClassSelector = new Uri(definition.Attr("selector"));
     this.Batch         = definition.Attr("batch").ToBool();
     this.OutputPath    = new Uri(definition.Attr("output"));
     this.NoXml         = definition.Attr("noxml").ToBool();
     this._resolver     = new ProjectUriResolver(project);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="project"></param>
 public BSharpXmlResolver(IBSharpProject project)
 {
     this._project         = project;
     this._projectresolver = new ProjectUriResolver(_project);
     this._nativeresolver  = new XmlUrlResolver();
 }