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:
parent
a097df8a0e
commit
a20120407f
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user