1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

Add small support for new C# feature optional values

This commit is contained in:
Kevin Glynn 2010-07-14 15:10:27 -05:00
parent a097df8a0e
commit a20120407f

View File

@ -20,6 +20,17 @@
<Name>TrueString</Name>
<Get>"True"</Get>
</Property>
<!-- C# 2.0 nullable value types -->
<Property>
<Type>System.Boolean</Type>
<Name>HasValue</Name>
<Get>${this} != null</Get>
</Property>
<Property>
<Type>System.Boolean</Type>
<Name>Value</Name>
<Get>${this}</Get>
</Property>
</Properties>
<Methods>
<Method>