Example #1
0
 public VsBindingMethod(CodeFunction codeFunction)
 {
     Name = codeFunction.Name;
     Parameters = codeFunction.Parameters.Cast<CodeParameter>().Select(p => new VsBindingParameter(p)).ToArray();
     Type = new VsBindingType((CodeClass)codeFunction.Parent);
 }
Example #2
0
 public VsBindingMethod(CodeFunction codeFunction)
 {
     Name       = codeFunction.Name;
     Parameters = codeFunction.Parameters.Cast <CodeParameter>().Select(p => new VsBindingParameter(p)).ToArray();
     Type       = new VsBindingType((CodeClass)codeFunction.Parent);
 }
Example #3
0
 public VsBindingParameter(CodeParameter codeParameter)
 {
     ParameterName = codeParameter.Name;
     Type = new VsBindingType(codeParameter.Type);
 }
Example #4
0
 public VsBindingParameter(CodeParameter codeParameter)
 {
     ParameterName = codeParameter.Name;
     Type          = new VsBindingType(codeParameter.Type);
 }