Esempio n. 1
0
        public object GetPropertyImmediateReflection([NotNull] object obj)
        {
            ImmediateType     accessor = ImmediateReflection.TypeAccessor.Get(obj.GetType());
            ImmediateProperty property = accessor.GetProperty(UIntArrayPropertyName);

            return(property?.GetValue(obj));
        }
 public string GetImmediateProperty_Property()
 {
     return($"{(string)ImmediateProperty.GetValue(BenchmarkObject)}{(int)ImmediateProperty2.GetValue(BenchmarkObject2)}{(double)ImmediateProperty3.GetValue(BenchmarkObject3)}{(short)ImmediateProperty4.GetValue(BenchmarkObject4)}");
 }
Esempio n. 3
0
 public string GetImmediateProperty_Property()
 {
     return((string)ImmediateProperty.GetValue(BenchmarkObject));
 }