GetValue() private method

private GetValue ( Object thisob ) : Object
thisob Object
return Object
        public override Object GetValue(Object obj)
        {
            FieldAccessor accessor = this.fieldAccessor;

            if (accessor == null)
            {
                this.fieldAccessor = accessor = FieldAccessor.GetAccessorFor(TypeReferences.ToExecutionContext(this.field));
            }
            return(accessor.GetValue(obj));
        }
Ejemplo n.º 2
0
        public override Object GetValue(Object obj)
        {
            FieldAccessor accessor = this.fieldAccessor;

            if (accessor == null)
            {
                this.fieldAccessor = accessor = FieldAccessor.GetAccessorFor(this.field);
            }
            return(accessor.GetValue(obj));
        }