Straight It solutions

My archive of working solutions of programming problems

2021/09/09

Custom immutable class MoneyAmmount using class Immutable

Warrning: If u want to publish in your class some collection property u should use Immutable.Clone() method to prevent from casting fg ReadOnlyCollection to List by client and change real published collection objects states

Posted by mach2 at 2:31 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog archive

  • ▼  2021 (11)
    • ►  November (1)
    • ►  October (1)
    • ▼  September (1)
      • Custom immutable class MoneyAmmount using class Im...
    • ►  June (1)
    • ►  April (4)
    • ►  March (3)
  • ►  2020 (9)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  September (2)
    • ►  May (3)
  • ►  2019 (4)
    • ►  December (3)
    • ►  October (1)
  • ►  2018 (1)
    • ►  September (1)
  • ►  2017 (6)
    • ►  August (1)
    • ►  July (3)
    • ►  April (1)
    • ►  January (1)
  • ►  2016 (37)
    • ►  August (2)
    • ►  July (9)
    • ►  June (3)
    • ►  May (7)
    • ►  March (3)
    • ►  February (12)
    • ►  January (1)
  • ►  2015 (32)
    • ►  December (5)
    • ►  October (1)
    • ►  September (4)
    • ►  July (5)
    • ►  June (8)
    • ►  May (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (3)
    • ►  January (1)
  • ►  2014 (49)
    • ►  December (5)
    • ►  October (2)
    • ►  September (1)
    • ►  August (23)
    • ►  July (18)
Simple theme. Theme images by gaffera. Powered by Blogger.