private CreateDerivedOutput ( OutputMethod method ) : |
||
method | OutputMethod | |
return |
internal XsltOutput CreateDerivedOutput(OutputMethod method) {
XsltOutput output = (XsltOutput) MemberwiseClone();
output.method = method;
if (method == OutputMethod.Html && this.indentSId == int.MaxValue) { // HTML output and Ident wasn't specified
output.indent = true;
}
return output;
}
internal bool SetDefaultOutput(XsltOutput.OutputMethod method) { if (Output.Method != method) { _output = _output.CreateDerivedOutput(method); return(true); } return(false); }