Ejemplo n.º 1
0
 protected MethodCaller(MethodInfo methodInfo)
 {
     MethodInfo = methodInfo;
     Parameters = new ObservableCollection<MethodParamContainer>();
     foreach (var par in methodInfo.GetParameters()) {
         var parameter = new MethodParamContainer { ParameterInfo = par };
         parameter.PropertyChanged += parameter_PropertyChanged;
         Parameters.Add(parameter);
     }
 }
Ejemplo n.º 2
0
 protected MethodCaller(MethodInfo methodInfo)
 {
     this.methodInfo = methodInfo;
     this.Parameters = new ObservableCollection<MethodParamContainer>();
     foreach (var par in methodInfo.GetParameters())
     {
         MethodParamContainer parameter = new MethodParamContainer() { ParameterInfo = par };
         parameter.PropertyChanged += new PropertyChangedEventHandler(parameter_PropertyChanged);
         Parameters.Add(parameter);
     }
 }
Ejemplo n.º 3
0
 protected MethodCaller(MethodInfo methodInfo)
 {
     MethodInfo = methodInfo;
     Parameters = new ObservableCollection <MethodParamContainer>();
     foreach (var par in methodInfo.GetParameters())
     {
         var parameter = new MethodParamContainer {
             ParameterInfo = par
         };
         parameter.PropertyChanged += parameter_PropertyChanged;
         Parameters.Add(parameter);
     }
 }
Ejemplo n.º 4
0
 protected MethodCaller(MethodInfo methodInfo)
 {
     this.methodInfo = methodInfo;
     this.Parameters = new ObservableCollection <MethodParamContainer>();
     foreach (var par in methodInfo.GetParameters())
     {
         MethodParamContainer parameter = new MethodParamContainer()
         {
             ParameterInfo = par
         };
         parameter.PropertyChanged += new PropertyChangedEventHandler(parameter_PropertyChanged);
         Parameters.Add(parameter);
     }
 }