Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public fields are not being exported, even when I uncheck the option in the UI. #63

Open
fpintos opened this issue Nov 23, 2016 · 2 comments
Assignees

Comments

@fpintos
Copy link

fpintos commented Nov 23, 2016

No description provided.

@OmarElabd
Copy link
Owner

The option in the UI was for private fields not public fields. Could you give an example of the object you are attempting to export and what the object exporter output was?

@OmarElabd OmarElabd self-assigned this Nov 23, 2016
@fpintos
Copy link
Author

fpintos commented Nov 26, 2016

Hi, thanks for looking at this.

One simple example I have is a data type that is generated by wsdl, like this:

    public partial class WorkTimeSlot {
        public int StartTimeInMinutes;
        public int EndTimeInMinutes;
    }

The output goes like this (with namespaces removed and the expression simplified):

var timeSlots = new WorkTimeSlot
{
};

In other types, public fields that are arrays do seem to be picked up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants