mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Java for Property getters setters serialize as Set Get like current cs2j
This commit is contained in:
parent
01ab36f9a6
commit
ce5f462672
@ -625,7 +625,8 @@ namespace RusticiSoftware.Translator.CLR
|
|||||||
public class PropRepTemplate : FieldRepTemplate, IEquatable<PropRepTemplate>
|
public class PropRepTemplate : FieldRepTemplate, IEquatable<PropRepTemplate>
|
||||||
{
|
{
|
||||||
|
|
||||||
private string _javaGet = null;
|
private string _javaGet = null;
|
||||||
|
[XmlElementAttribute("Get")]
|
||||||
public string JavaGet {
|
public string JavaGet {
|
||||||
get {
|
get {
|
||||||
if (!CanRead) return null;
|
if (!CanRead) return null;
|
||||||
@ -645,6 +646,7 @@ namespace RusticiSoftware.Translator.CLR
|
|||||||
}
|
}
|
||||||
|
|
||||||
private string _javaSet = null;
|
private string _javaSet = null;
|
||||||
|
[XmlElementAttribute("Set")]
|
||||||
public string JavaSet {
|
public string JavaSet {
|
||||||
get {
|
get {
|
||||||
if (_javaSet == null) {
|
if (_javaSet == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user