public void SetImmediateProperty_Property() { ImmediateProperty.SetValue(BenchmarkObject, ValueToSet); ImmediateProperty2.SetValue(BenchmarkObject2, ValueToSet2); ImmediateProperty3.SetValue(BenchmarkObject3, ValueToSet3); ImmediateProperty4.SetValue(BenchmarkObject4, ValueToSet4); }
public void SetPropertyImmediateReflection([NotNull] object obj) { ImmediateType accessor = ImmediateReflection.TypeAccessor.Get(obj.GetType()); ImmediateProperty property = accessor.GetProperty(UIntArrayPropertyName); property?.SetValue(obj, ValueToSet); }
public void SetImmediateProperty_Property() { ImmediateProperty.SetValue(BenchmarkObject, ValueToSet); }