Michael Ganss

Results 275 comments of Michael Ganss

@bcallaghan-et This should be possible now.

@heggi Wouldn't this also have to account for the different XML schema types in the `ToString()` call (date, time, datetime)? Also, we might want to use `TryParse()`. Can you make...

This should be possible by using the `--useArrayItemAttribute` option which is true by default. If this doesn't work for you, can you share an example xsd?

Where do you see this fit into XmlSchemaClassGenerator? AFAICT the `ISpecimenBuilder` implementation would a generic class that can be applied to all generated classes. So perhaps this could be a...

Sounds good. Would be great if you could provide a PR.

Sure. If you're interested, a PR implementing the behavior you have described (optionally create separate folders for every namespace component) would be welcome as well.

Sorry this took so long 😳 > From a pure "does it compile" standing point, it should be save the emit `#nullable enable` whenever `--nullableReferenceAttributes` and `--netCore` is set. But...

I can't repro. I have generated classes with the options shown in your example and they compile fine.

Backing fields are generated whenever initialization needs to occur or additional processing is done in the setter (databinding). The relevant line is this: https://github.com/mganss/XmlSchemaClassGenerator/blob/dee1ac0e22c80d65bb6e7c3224606b93f622cae8/XmlSchemaClassGenerator/TypeModel.cs#L756 Since C# 6 there are [auto-property...