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