Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-169

Deserialize Arrays to Properties without Setter

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 0.11
    • Feature Request
    • None

    Description

      Provide support for De-serializing Arrays to read only properties

      Like so:
      private List<contact> _contacts;

      public IEnumerable<contact> Contacts
      {
      get

      { if (_contacts == null) _contacts = new List<contact>(); return _contacts; }

      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            middletommy Thomas Tucker
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: