Domas Markevicius

Results 25 comments of Domas Markevicius

can we do this via project level settings: AutoConstructor_MarkParameterlessConstructorAsObsolete (bool) AutoConstructor_ParameterlessConstructorObsoleteMessage (string) and what are the default values then? specifying these options with every [AutoConstructor] attribute usage would be as...

Added these two options as discussed.

I agree that passing around a boolean flag is not very elegant - here is an alternative implementation by having two different methods https://github.com/DomasM/AutoConstructor/commit/01f475580a6492bff7490e387284a5952fa9cd62 if this is preferred, I can...

noticed that addDefaultBaseAttribute option is not handled correctly, added test and moved to separate generation methods

@slang25 would this feature be added if implemented correctly? ``` using (new AssertionScope()) { actualInt.ShouldBe(expectedInt); actualString.ShouldBe(expectedString); } ```