예제 #1
0
 public static void SetMethodParameterPropertiesTo(this ProjectEditorViewModel vm, string datatype, string name)
 {
     vm.ParameterUnderEdit.Datatype = vm.DatatypeOf(datatype);
     vm.ParameterUnderEdit.Name     = name;
     vm.AddParameterToMethod();
 }
예제 #2
0
 private void AddMethodParameter_OnClick(object sender, RoutedEventArgs e)
 {
     _projectEditorViewModel.AddParameterToMethod();
 }