private void WriteConstructor (ConstructorTarget constructor, DisplayOptions options, XmlWriter writer) { WriteType(constructor.Type, options & ~DisplayOptions.ShowContainer, writer); if ((options & DisplayOptions.ShowParameters) > 0) { Parameter[] parameters = constructor.Parameters; WriteMethodParameters(parameters, writer); } }
private static ConstructorTarget CreateConstructorTarget (XPathNavigator api) { ConstructorTarget target = new ConstructorTarget(); target.parameters = CreateParameterList(api); return (target); }