Changeset 15554 for branches/2817-BinPackingSpeedup/HeuristicLab.Tests/HeuristicLab.Problems.Bin-Packing-3.3/Utils/TestUtils.cs
- Timestamp:
- 12/20/17 16:15:38 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2817-BinPackingSpeedup/HeuristicLab.Tests/HeuristicLab.Problems.Bin-Packing-3.3/Utils/TestUtils.cs
r15463 r15554 13 13 } 14 14 15 /// <summary> 16 /// Invokes a private method of an given object by using reflection 17 /// </summary> 18 /// <param name="type"></param> 19 /// <param name="o"></param> 20 /// <param name="methodName"></param> 21 /// <param name="parameters"></param> 22 /// <returns></returns> 15 23 public static object InvokeMethod(Type type, object o, string methodName, object[] parameters) { 16 24 var method = type.GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance);
Note: See TracChangeset
for help on using the changeset viewer.