[csharp] PropertyChanged support .NET 4.x+

This commit is contained in:
Jim Schubert
2016-08-06 16:54:50 -04:00
parent e8095c6a04
commit 797afe9d15
10 changed files with 53 additions and 15 deletions

View File

@@ -48,6 +48,8 @@ public class CSharpClientOptionsTest extends AbstractOptionsTest {
times = 1;
clientCodegen.setOptionalEmitDefaultValue(true);
times = 1;
clientCodegen.setGeneratePropertyChanged(true);
times = 1;
}};
}
}

View File

@@ -33,6 +33,7 @@ public class CSharpClientOptionsProvider implements OptionsProvider {
.put(CodegenConstants.OPTIONAL_PROJECT_GUID, PACKAGE_GUID_VALUE)
.put(CodegenConstants.DOTNET_FRAMEWORK, "4.x")
.put(CodegenConstants.OPTIONAL_EMIT_DEFAULT_VALUES, "true")
.put(CodegenConstants.GENERATE_PROPERTY_CHANGED, "true")
.build();
}