Guest User

Untitled

a guest
Jul 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. // example 2: proposed change
  2.  
  3. public class ClassMap<T>
  4. {
  5. private ClassMapping classMapping = new ClassMapping();
  6.  
  7. public PropertyPart Map(...)
  8. {
  9. var propertyMapping = new PropertyMapping();
  10.  
  11. classMapping.AddProperty(propertyMapping);
  12.  
  13. return new PropertyPart(propertyMapping);
  14. }
  15.  
  16. public ClassMapping GetMapping()
  17. {
  18. return classMapping;
  19. }
  20. }
Add Comment
Please, Sign In to add comment