Can't access to auto-properties of instance for ios xamarin forms app simulator(ios 13.1)

isarzhanisarzhan USMember ✭✭
edited October 13 in Xamarin.iOS

Can't access to auto-properties of instance for ios xamarin forms app simulator(ios 13.1)
Xcode 11.1
xamarin.ios v4.0.30319

DOT class implement

public class apiRegisterDTOModel
    {
        public string Name { get; set; }
        public string Phone { get; set; }
        public int UserType { get; set; }

    }

Posts

  • isarzhanisarzhan USMember ✭✭
    edited October 13

    therefore json body is empty after serialize

  • isarzhanisarzhan USMember ✭✭

    @isarzhan said:
    Can't access to auto-properties of instance for ios xamarin forms app simulator(ios 13.1)
    Xcode 11.1
    xamarin.ios v4.0.30319

    DOT class implement

    public class apiRegisterDTOModel
    {
    public string Name { get; set; }
    public string Phone { get; set; }
    public int UserType { get; set; }

    }

    When i try to debug my xamarin.ios application on the iphone simulator i can't set any properties for DTO class instance , as i showed on a picture below, therefore i can serialize my DTO but this json string is empty. There is not any exception or another type of error. Why could it be such?

Sign In or Register to comment.