samedi 11 avril 2015

How to describe this code pattern?

In several places of the code base I am working in, I see classes with these kinds of properties:



public AnalogJoint AssociatedJoint { get; set; }

public Point Location
{
get
{
return AssociatedJoint.Location;
}
}


Is there a formal term for this pattern of exposing a property of a property?


Aucun commentaire:

Enregistrer un commentaire