Пример #1
0
        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);
            }

        }
Пример #2
0
 private static ConstructorTarget CreateConstructorTarget (XPathNavigator api) {
     ConstructorTarget target = new ConstructorTarget();
     target.parameters = CreateParameterList(api);
     return (target);
 }