Exemplo n.º 1
0
 MethodModel CreateMethod(String name, BindingMethod method)
 {
     return(new MethodModel
     {
         Name = name,
         IsVoid = method.ReturnType == typeof(void),
         Converter = GetConverter(method.Type),
         OriginalName = method.OriginalName,
         RefName = name.Capitalize(),
         IsLenient = method.IsLenient,
         Parameters = method.Parameters.Select(CreateParameter).ToArray()
     });
 }
 void IVisitor.Visit(BindingMethod method)
 {
 }
 MethodModel CreateMethod(String name, BindingMethod method)
 {
     return new MethodModel
     {
         Name = name,
         IsVoid = method.ReturnType == typeof(void),
         Converter = GetConverter(method.Type),
         OriginalName = method.OriginalName,
         RefName = name.Capitalize(),
         IsLenient = method.IsLenient,
         Parameters = method.Parameters.Select(CreateParameter).ToArray()
     };
 }
Exemplo n.º 4
0
 public void Visit(BindingMethod method)
 {
     Include(method.ReturnType);
     VisitParameters(method);
 }
 public void Visit(BindingMethod method)
 {
     Include(method.ReturnType);
     VisitParameters(method);
 }
Exemplo n.º 6
0
 void IVisitor.Visit(BindingMethod method)
 {
 }