Exemple #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);
 }
Exemple #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);
 }
Exemple #3
0
 public VsBindingParameter(CodeParameter codeParameter)
 {
     ParameterName = codeParameter.Name;
     Type = new VsBindingType(codeParameter.Type);
 }
Exemple #4
0
 public VsBindingParameter(CodeParameter codeParameter)
 {
     ParameterName = codeParameter.Name;
     Type          = new VsBindingType(codeParameter.Type);
 }