public void SetPropertyInfoCache_Property() { PropertyInfo.SetValue(BenchmarkObject, ValueToSet); PropertyInfo2.SetValue(BenchmarkObject2, ValueToSet2); PropertyInfo3.SetValue(BenchmarkObject3, ValueToSet3); PropertyInfo4.SetValue(BenchmarkObject4, ValueToSet4); }
public string GetPropertyInfoCache_Property() { return($"{(string)PropertyInfo.GetValue(BenchmarkObject)}{(int)PropertyInfo2.GetValue(BenchmarkObject2)}{(double)PropertyInfo3.GetValue(BenchmarkObject3)}{(short)PropertyInfo4.GetValue(BenchmarkObject4)}"); }