Interface IMemberAccessor<M,​O>

  • Type Parameters:
    M - Member class
    O - Container class

    public interface IMemberAccessor<M,​O>
    Used for accessing (reading) members of a container object. Implementors of this interface provides a way of getting a member value based on a container object. Note that the container does not necessarily have to actually contain the member, the member can be found or constructed in any way that the accessor desires.
    • Method Detail

      • getMember

        M getMember​(O inObject)
        Gets a member value from a container object.
        Parameters:
        inObject - Container object
        Returns:
        member value or null if it can't be found from the provided container