mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Compare commits
209 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f9038369ac | ||
|
404b82503d | ||
|
303633ed0e | ||
|
4656b1d487 | ||
|
02d9dd0411 | ||
|
1d06999929 | ||
|
e91ef628c9 | ||
|
92321f33b0 | ||
|
942443b74b | ||
|
b697d4e705 | ||
|
fa01593354 | ||
|
c05bbe34c6 | ||
|
99d3701615 | ||
|
9805592294 | ||
|
7b2343b568 | ||
|
d4cee45bdd | ||
|
5462d79b94 | ||
|
5672fcccd8 | ||
|
33f9d0046d | ||
|
9f06a5d2d1 | ||
|
376a374301 | ||
|
300b059d49 | ||
|
9f9ec52bfb | ||
|
4b918c2693 | ||
|
5110fd1e33 | ||
|
23e08c4f62 | ||
|
db1b823dd1 | ||
|
0525fe2c8c | ||
|
f6265cffd5 | ||
|
03064de2b6 | ||
|
c1d7ecea72 | ||
|
b38a1a6db0 | ||
|
aa1bba52fc | ||
|
e8bfc96263 | ||
|
adbdfde9cc | ||
|
1e57216794 | ||
|
c430fb0aab | ||
|
be1fe6d476 | ||
|
7d27b211a6 | ||
|
6171de410f | ||
|
3d7e2a0dc6 | ||
|
e7a8fe4efe | ||
|
4d78138a2a | ||
|
ce213809d1 | ||
|
7b9ab466a9 | ||
|
2c5e4afa3b | ||
|
13c808d373 | ||
|
6e39b1688b | ||
|
e4dc32576c | ||
|
addcb8fc40 | ||
|
90b75f3bda | ||
|
c4e9e710f4 | ||
|
c610bfe980 | ||
|
3ef2738687 | ||
|
d0efb63ef9 | ||
|
084501fc03 | ||
|
37d5f5071c | ||
|
bb8ddfac0c | ||
|
3528e2223e | ||
|
f6e7958041 | ||
|
a158607522 | ||
|
86bacb0014 | ||
|
2c6f6100a8 | ||
|
679da0f151 | ||
|
93eca2c29a | ||
|
f5bb89c9cf | ||
|
922c3baa0e | ||
|
e7471051d8 | ||
|
24cd7e967d | ||
|
5287e7b1f7 | ||
|
fa915096b2 | ||
|
e8dc2da052 | ||
|
4cef057bb9 | ||
|
ea9e609506 | ||
|
e107488078 | ||
|
4bfa3c1a63 | ||
|
56265e11b1 | ||
|
17f150245e | ||
|
a1e6eb4a24 | ||
|
fd82360b08 | ||
|
23984ede9c | ||
|
9719bd8e26 | ||
|
706afb8575 | ||
|
52a2e5b301 | ||
|
d1b05c7411 | ||
|
d020bc12af | ||
|
770d02177e | ||
|
9109c54143 | ||
|
78dc44643f | ||
|
4b965f0064 | ||
|
fcddbb40a6 | ||
|
1518806ac9 | ||
|
445f387144 | ||
|
7f8a732e66 | ||
|
826bf6b515 | ||
|
a020c85e5f | ||
|
b446f68eb6 | ||
|
cf5cca5fa5 | ||
|
a3276863c5 | ||
|
7f197becf2 | ||
|
26667b96e3 | ||
|
9012b7c07a | ||
|
48b6b3b8fa | ||
|
3930e1a05d | ||
|
65d533f5a6 | ||
|
37b80a1fbd | ||
|
b5f2f3126b | ||
|
7f0cc54156 | ||
|
f61a635bc1 | ||
|
e1a6104a0d | ||
|
b75004cd20 | ||
|
d35c8c196b | ||
|
2c4ca85ba5 | ||
|
a6f8dac7c6 | ||
|
a71555167a | ||
|
52b4b0c8f5 | ||
|
ac4aed1ef0 | ||
|
c62a2e241b | ||
|
a3b3e67d76 | ||
|
63addf1b1c | ||
|
985368b2e5 | ||
|
dc3d4691e4 | ||
|
2930f11d1f | ||
|
85b9a3afc4 | ||
|
1ab62778f7 | ||
|
87f38f84e9 | ||
|
c43d5ec4a4 | ||
|
34fdb5266a | ||
|
eb760267f9 | ||
|
3c5ec9fcb6 | ||
|
3ef1333259 | ||
|
dc2f6c6201 | ||
|
e65f6be61c | ||
|
5a5dabc5fe | ||
|
cbba3febbf | ||
|
bee6696044 | ||
|
d1144d51db | ||
|
1e0d4a90e8 | ||
|
9165fc200e | ||
|
84d55bf3d5 | ||
|
78d2ed1e29 | ||
|
946bd4741a | ||
|
87e67c5035 | ||
|
f0c1dc6894 | ||
|
4d5f5aead0 | ||
|
5a013caf81 | ||
|
20cb333fa6 | ||
|
1bee5bb9ac | ||
|
67f5662d77 | ||
|
c0c2fe6a1a | ||
|
aefe0f98c2 | ||
|
38a7bb85d6 | ||
|
bc0b63bf12 | ||
|
b4f294616a | ||
|
f49fbbf4ad | ||
|
83be479d78 | ||
|
68b1c5d3de | ||
|
3ad0b16e4b | ||
|
87625a5c48 | ||
|
58dcc0fd50 | ||
|
6262b324ca | ||
|
cffbe348df | ||
|
5599aa3bd5 | ||
|
47607a041e | ||
|
cf49dd694f | ||
|
fb9b27763f | ||
|
091650f33c | ||
|
11402e0865 | ||
|
8fef1242e9 | ||
|
f2a3c580da | ||
|
1001d5151f | ||
|
6acf9f9241 | ||
|
542cc43895 | ||
|
eb6e71c6e8 | ||
|
3458e63900 | ||
|
8cd688c332 | ||
|
ab6e191c36 | ||
|
c07516f1d3 | ||
|
4e95c2b446 | ||
|
fb717e5dcb | ||
|
dec3078b49 | ||
|
f6683a0c84 | ||
|
ef0ad44d08 | ||
|
9494ead814 | ||
|
b32c4f1e86 | ||
|
359ca8e18c | ||
|
896b3345aa | ||
|
63c36a65e9 | ||
|
78a6cfc4b5 | ||
|
34cf358a0d | ||
|
e4a6dd5759 | ||
|
39d6694b63 | ||
|
8add3b2c23 | ||
|
a143dd8eae | ||
|
6544471683 | ||
|
9df8b1e620 | ||
|
a654e0d694 | ||
|
0ed1e625d8 | ||
|
e7b093ba6c | ||
|
b24ce95c44 | ||
|
f64f7d9e10 | ||
|
01800b833d | ||
|
becceb3eb3 | ||
|
0ee989abd9 | ||
|
64db7fd578 | ||
|
215f8fdd1a | ||
|
bdc1a68ee2 | ||
|
b0bc6dca4d | ||
|
1a29534e3f |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,11 +1,13 @@
|
||||
bin/
|
||||
obj/
|
||||
#build/
|
||||
.settings/
|
||||
test-results/
|
||||
*.csproj.user
|
||||
*.suo
|
||||
*.bak
|
||||
*.userprefs
|
||||
*~
|
||||
|
||||
launch*.properties
|
||||
|
||||
|
24
COPYING
Normal file
24
COPYING
Normal file
@ -0,0 +1,24 @@
|
||||
CS2J has two components:
|
||||
|
||||
- CSharpTranslator:
|
||||
This builds the cs2j.exe executable. This executable runs
|
||||
directly under Windows and under Mono on other platforms
|
||||
(http://www.mono-project.com/Main_Page).
|
||||
|
||||
This work is licensed under the MIT / X Window System License
|
||||
(http://opensource.org/licenses/mit-license.php).
|
||||
|
||||
With this licensing then the produced Java code should be
|
||||
completely unencumbered and you can do what you want with it.
|
||||
|
||||
- CS2JLibrary:
|
||||
|
||||
This contains the XML translation files that direct CS2J to
|
||||
translate .Net framework calls into appropriate Java code, and
|
||||
the CS2JLibrary Java support library that translated applications
|
||||
include.
|
||||
|
||||
This work is licensed under the Apache License, Version 2.0
|
||||
(http://www.apache.org/licenses/LICENSE-2.0).
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="JVM 1.6.0 (MacOS X Default)"/>
|
||||
</faceted-project>
|
@ -1,6 +1,7 @@
|
||||
CS2J Library
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
Copyright 2007-2013 Rustici Software, LLC
|
||||
Copyright 2010-2013 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
This product includes software developed by
|
||||
Rustici Software, LLC (http://www.scorm.com/).
|
||||
Rustici Software, LLC (http://www.scorm.com/)
|
||||
and Kevin Glynn (http://www.twigletsoftware.com).
|
||||
|
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.IteratorSupport</Import>
|
||||
</Imports>
|
||||
<Java>IteratorSupport</Java>
|
||||
<Name>CS2J.CS2JNet.JavaSupport.Collections.Generic.IteratorSupport</Name>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.IteratorSupport</Import>
|
||||
</Imports>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>enum</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Java>IteratorSupport.mk(${enum})</Java>
|
||||
<Name>mk</Name>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Class>
|
18
CS2JLibrary/NetFramework/CS2J/java/util/Iterator'1.xml
Normal file
18
CS2JLibrary/NetFramework/CS2J/java/util/Iterator'1.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.util.Iterator</Import>
|
||||
</Imports>
|
||||
<Java>Iterator*[${E}]*</Java>
|
||||
<Name>CS2J.java.util.Iterator</Name>
|
||||
<TypeParams>
|
||||
<Name>E</Name>
|
||||
</TypeParams>
|
||||
</Interface>
|
@ -43,4 +43,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>pGPM09fTQoml/g9H+67m0NSehzc=</DigestValue></Reference></SignedInfo><SignatureValue>bXOgNeli5u9NXkMj3xgnkcudKVxosUjwXv4TvQfOd3iOacagMAY4/dRFPkbZM6RT7lBE6Uzo2OCsqhXYDAhqyYqHdHJ12rJOhMeLKo4czbZCwSHi6NUwKjasKKc2Byres56f7HTRdvfi7kxAUr/M4DfClSALI2ziQCbXj3MAR88=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -49,4 +49,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>4b/KSDK568s56twipOj0YRfWUjI=</DigestValue></Reference></SignedInfo><SignatureValue>cfgLeHXgmq/PrTVDzC9ZfAnbAFvLBFDOvSW4qJ9PaCsUu2MolqkmEVUMVdUVAW1aqNyavG1MYM3SAtTV14xFmajy/uXw25GjKUwHRfZZHr44fQT71xx7FGMxboR8Rz7BkDCVz7APA7kPf835QPDSfNSFyPsdyGMnDSI7YoSWqFE=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
79
CS2JLibrary/NetFramework/System/Action'1.xml
Normal file
79
CS2JLibrary/NetFramework/System/Action'1.xml
Normal file
@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Delegate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Action</Import>
|
||||
</Imports>
|
||||
<Java>Action*[${T}]*</Java>
|
||||
<Name>System.Action</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Methods>
|
||||
<Method static="true">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.__MultiAction</Import>
|
||||
</Imports>
|
||||
<Java>__MultiAction.Combine(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Action*[T]*</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Action*[T]*</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Combine</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Return>System.Action*[T]*</Return>
|
||||
</Method>
|
||||
<Method static="true">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.__MultiAction</Import>
|
||||
</Imports>
|
||||
<Java>__MultiAction.Remove(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Action*[T]*</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Action*[T]*</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Return>System.Action*[T]*</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Invoke>
|
||||
<Java>${this:16}.Invoke(${a})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Invoke</Name>
|
||||
<TypeParams />
|
||||
<Return>System.Boolean</Return>
|
||||
</Invoke>
|
||||
|
||||
</Delegate>
|
@ -35,4 +35,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>csHM+322NGEkjhtUaqVqhEdDaf4=</DigestValue></Reference></SignedInfo><SignatureValue>bAZ8HiaaiLU21DKydvOquzxScfvhC9jk67KQ/yRI67oIZFK3CAfo04enMplJ2k84YoFIMrkZtvRidMJJrSahWHDl9qUWcYFfyRUuw3y1razVYcUYdS9OLVP9Gbhs8itCoKmPQ/bzY1mtMMKE3GQbgOgzG7Tjim+AO0yl6tpGYlU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -68,4 +68,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>wKAlXgsoeaS+aLO3amFA5RiwWFM=</DigestValue></Reference></SignedInfo><SignatureValue>CtV6aD06QgWuXtNCzpHUNUZdWeRrhJT3NvfRluNdz79nJkiFtkjETCKGSi33XiRdxveKFBtJF+KMo+R8YVbnfEiubVeaeFJQ1eRg8irv3GhfVNNcrv9zFyMq7cCRPgGwyykUdHhXxvtfZITOvZdfBneoalWZ/aJH1ja2tucL3BQ=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -8,7 +8,9 @@
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.ArgumentException</Import>
|
||||
</Imports>
|
||||
<Java>ArgumentException</Java>
|
||||
<Name>System.ArgumentException</Name>
|
||||
<Uses />
|
||||
@ -108,4 +110,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Y4yxDrGpA33OvePneLd+HYMTp6k=</DigestValue></Reference></SignedInfo><SignatureValue>Lncr7yNaFrSKNLGZicNP+svC65lLZ2oKBZpxETz5u1/qO7SRq4ifSF5QS1MPM/54VjbPowMvQxoKntDn5keH4Kkq9YNcheIMT9/gI6PPnRPERtFe2npzbmMKWvju6Vxvqdw4hKL3VWyF/fYtfF2raZsJ93GsbJkk/igOG9Ba2nw=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -68,4 +68,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Ucq1oaY1HGZ/ornt2qli1mMdQ+w=</DigestValue></Reference></SignedInfo><SignatureValue>RQo6mIRH/DojiBvIE85pk00RJazTMWP1b60Ca78gtwuqjwfL6plDspuu4/2vAloZImwJq9zCalpS5VIkumU2OvmgVgZjnB8o8WDQS3XX6K/dc8Cgx6QXGsjNFqBnaGSaPj82uOFf7KuLMn59jK3FMKZsN1aTJ8Gl6HUJp1nb8SM=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -81,4 +81,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>4tVOJbuP1pVke4TtnQZVaouGbx0=</DigestValue></Reference></SignedInfo><SignatureValue>IoUhzxP/j0CrwueOE6tQAtfxoKXoyCBkos7axq4itnvWX4jZr6VzlO37NIPoDcbzIkOXClg/nfS6q8TuIFGw/gYwHafjI/OBYSpCZwlfXLMmc+HCzxMnWWue0a7IOXNzTbeWrbd7gy4Qp0zv8Wr45NlgdWJpGVTQaXWbAiO5jmw=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -22,4 +22,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>CWUAumRJSDwnzFCd2RPMCJjDw5c=</DigestValue></Reference></SignedInfo><SignatureValue>JRkTEp9fkPdmp++UvTi5AksnJ0IaXMu/LRDy2Voy8cGQW3IyATaYxLAuYDcbJfKPmnZydar/0QTPKgySdRRQVKk/WZavhj58+eVjwisp/g2TqbytkbUg4QlEnboYEK6k60zuiEElmLPi/dRcnWq8EAkgZcsV84rcE+g2c95D2CY=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>boolean</Java>
|
||||
<BoxedJava>Boolean</BoxedJava>
|
||||
<Name>System.Boolean</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -79,4 +80,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>zyHDBzrvR1koU/5yQGaf2y5NbnY=</DigestValue></Reference></SignedInfo><SignatureValue>Ji+9fR23CsKRU0LvxhnX7GoVh1NfZqdXRvaeWdNsbwDJBy0Xt5a3k6S3YvMc816QjOu06ZFkubPh0oPZB8pZIpQ3EkYCzojzq4EZcS4lJFSs0bgRstVScK2+yBk2/pB+1349VS57aFl/fWnS5z0zYbemLMIUaooCbYJlHA9sWZ0=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>byte</Java>
|
||||
<BoxedJava>Byte</BoxedJava>
|
||||
<Name>System.Byte</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -56,12 +57,29 @@
|
||||
<Get>Byte.MAX_VALUE</Get>
|
||||
<Set>${this:16}.setMaxValue(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this}</Java>
|
||||
<Type>System.Byte</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
<Set>${this:16}.setValue(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
<Casts>
|
||||
<!--
|
||||
<Cast>
|
||||
<Imports />
|
||||
<Java>((Number)${expr}).byteValue()</Java>
|
||||
<From>System.Object</From>
|
||||
<To>System.Byte</To>
|
||||
</Cast>
|
||||
-->
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>TFFbmUkK/tsbC3YQo2PIEgrmvtM=</DigestValue></Reference></SignedInfo><SignatureValue>LFXkpBOTGYM7kRVJL3RizTCgQat9stmFvpEs5K5tC4IBMq4XUxfGQ/UHFwDbggDqz9xeGIFrhFHBVmyavoxSfmCTUxpahEZUljdOhRuNNnNWcZLnsRuNNTRVdwO14MbquKTs6tY/7XO0FBirlAD9WwSO5tpEwy6+KhudWf1uZoE=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>char</Java>
|
||||
<BoxedJava>Character</BoxedJava>
|
||||
<Name>System.Char</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -163,6 +164,14 @@
|
||||
<Get>Character.MAX_VALUE</Get>
|
||||
<Set>${this:16}.setMaxValue(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this}</Java>
|
||||
<Type>System.Char</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
<Set>${this:16}.setValue(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
@ -171,4 +180,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>dDnJLXOZbRXXVncWmSeoyg6O27M=</DigestValue></Reference></SignedInfo><SignatureValue>KOZlaLyTTRo7tgFEFAoGyqHymiV0GRST5e5OeaGyKEwJob1vvRRzwJvwdVQiMJuHWMM5LQ+RYI4GZnPU2AjIM4L6eyNwCep8dDckdoIeC3UZ+PPslxeUvUuRLLZON1ARTt1lNxb2BuEa+jeVC2bxGco+iBpqQb2uyCEShV/HHPY=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -15,6 +15,7 @@
|
||||
<Name>System.Collections.ArrayList</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<Type>System.Collections.IList</Type>
|
||||
<Type>System.Collections.IEnumerable</Type>
|
||||
<Type>System.Collections.ICollection</Type>
|
||||
</Inherits>
|
||||
@ -116,6 +117,16 @@
|
||||
<Name>RemoveAt</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>java.util.Collections</Import>
|
||||
</Imports>
|
||||
<Java>Collections.reverse(${this:16})</Java>
|
||||
<Params>
|
||||
</Params>
|
||||
<Name>Reverse</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.ArrayListSupport</Import>
|
||||
@ -162,7 +173,7 @@
|
||||
</Params>
|
||||
<Type>System.Object</Type>
|
||||
<Get>${this:16}.get(${i})</Get>
|
||||
<Set>${this:16}.add(${i}, ${value})</Set>
|
||||
<Set>${this:16}.set(${i}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
@ -208,4 +219,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>m+iWpSQViOOE2L8Hspr/SFYOOsg=</DigestValue></Reference></SignedInfo><SignatureValue>a2qAa4SkXTCjRAbqdNDPLcPXEhbnjdFubVyxIAwBnm+OKqeESUjTNTzIg6X8cHJ1QGU1wwR1k04GzoRlBrWlfyCxD+Mb4j9FtOoNAGQ6OsUS4bWHPOEojNdIxv2bUILpXc3MAw4fm/ZXDYWlw9RrTCKVWQvv+fs/s/bwpPVL+90=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -41,4 +41,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>eTYKwE5MiNpvE4vXplBizURvVNg=</DigestValue></Reference></SignedInfo><SignatureValue>Fb5jiXxPu9S70KLfSCKliYyaL90Sk8SZumqB9Idc3qwVcMlRPFQAKuol+zsk/TENiDp7Nw48WJ/mQ5LxCO9a/0NV22c7/q9PYdIYlLZu3sApcS82/MtJ8AAeG/o8OvpjgaP71CS2xhZCE4DOnkrWBYJmQCF02jogJVpGWbDjARw=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -132,4 +132,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>qbxkvItrQBq06TjO7qOtFI8C/q0=</DigestValue></Reference></SignedInfo><SignatureValue>RcwnIhyoghrIJVGfVld2S5OkoSKruLMH/elhtAB+HTovqtoa+1Sdb1cVkFbu8Vb4YpAubmZh6Kv87UYSjKb50c15xCsx3naC7Je/qZ68rac206rokoqKiLXAV5M5C+Pr0q8gFyQK60WohWma7DrsO+B5ByXYR1UORm6Tk4WO04Q=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -8,18 +8,28 @@
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.Generic.ICollectionSupport</Import>
|
||||
<Import>CS2JNet.System.Collections.ICollection</Import>
|
||||
</Imports>
|
||||
<Java>ICollectionSupport*[${T}]*</Java>
|
||||
<Java>ICollection*[${T}]*</Java>
|
||||
<Name>System.Collections.Generic.ICollection</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Inherits>
|
||||
<Type>>System.Collections.Generic.IEnumerable*[T]*</Type>
|
||||
</Inherits>
|
||||
<Iterable>
|
||||
<ElementType>T</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this:16}.size()</Java>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this:16}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
@ -35,4 +45,4 @@
|
||||
<Return>System.Int32</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>E8HIpKiRknOratBbxt4a71EId0E=</DigestValue></Reference></SignedInfo><SignatureValue>bqvpolcous2/NZYPel/paViJS5fRwPaIvj75jVeZg70SnvhIFVNstqctcVLe2mw52NihU5aIVD3Pl1E5ZCeZbXs15yeg9B2CG//EbCpSXGO/a9iLa0aZhv4O63vLJAqBqT1tqKj+Z8FXIJxbwo4rtwnNHH7rqUAMsg3GfojAmS8=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -33,4 +33,4 @@
|
||||
</Methods>
|
||||
<Properties>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>/PjF1YTT9YA7Mx/RRyWYrceaKa0=</DigestValue></Reference></SignedInfo><SignatureValue>axDWxokriznrp2wjipORfzl9sGm+cQ8TDNWUXEU1IdY1uVCkjb9eSKpItf/HOEftNpt3HVmaXN9jQGXSGid0LPNeKSgRa1MvjvgW3ook98V1IH9jgZGRRMsgzJZ+1C+1wpHd9XRqmiOVD2eFgmsynaGyJwwsAL1hX7DP6rY/ps8=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -99,5 +99,12 @@
|
||||
<Name>Values</Name>
|
||||
<Get>${this:16}.values()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this:16}.size()</Java>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this:16}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>BBHaGzWIzkVajkMtIotxcu6p5VY=</DigestValue></Reference></SignedInfo><SignatureValue>WOOzmkxA0yBm1tFVetTcQxQc7SztNyQygCPbn5vaHLtHI/MoQMuTuytu5BrGb4UJ7KG68galgfmWUlUD99Txs44X+XdHA7wY0XcAUwXHV+/uti6FicyhHw7mDr9Bj4+Rjq4RIA2I0gS5P25V9nMEIEQCD3/jjc+wc4Lt5AHw/b4=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -8,9 +8,9 @@
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.lang.Iterable</Import>
|
||||
<Import>CS2JNet.System.Collections.IEnumerable</Import>
|
||||
</Imports>
|
||||
<Java>Iterable*[${E}]*</Java>
|
||||
<Java>IEnumerable*[${E}]*</Java>
|
||||
<Name>System.Collections.Generic.IEnumerable</Name>
|
||||
<TypeParams>
|
||||
<Name>E</Name>
|
||||
@ -21,4 +21,12 @@
|
||||
</Iterable>
|
||||
<Properties>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>FzD0ISaWZKb/GDgZSI4werJrHHs=</DigestValue></Reference></SignedInfo><SignatureValue>NeU9k5KOXySVLGMadMEZfh5bsC928iltYWSnpm/5N0sN3NSyfZYUPZ3mL8DG8bZPzJbTIla2fkkZH0FbsDbtU1AeTYpFg9C8NSGDeYqR1mNEaCqYUZQmmP5MP9TtyT9dZOItpb4TXSWjKdkahUaw6CbFRn38Az9Wfh+8DdHIzjg=</SignatureValue></Signature></Interface>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Java>${this:16}.GetEnumerator()</Java>
|
||||
<Params />
|
||||
<Name>GetEnumerator</Name>
|
||||
<Return>System.Collections.Generic.IEnumerator*[E]*</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
||||
|
@ -8,9 +8,9 @@
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.Generic.IEnumeratorSupport</Import>
|
||||
<Import>CS2JNet.System.Collections.IEnumerator</Import>
|
||||
</Imports>
|
||||
<Java>IEnumeratorSupport*[${E}]*</Java>
|
||||
<Java>IEnumerator*[${E}]*</Java>
|
||||
<Name>System.Collections.Generic.IEnumerator</Name>
|
||||
<TypeParams>
|
||||
<Name>E</Name>
|
||||
@ -26,4 +26,18 @@
|
||||
<Get>${this:16}.getCurrent()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Z9FptX0U42LEe5NyR07kbqmjngA=</DigestValue></Reference></SignedInfo><SignatureValue>AMNZC0531V5Q+gQld+kJ3wysXE0U2xV2g0dMdYeCAdgwPdcJ7LlZLgfDUDVJHv7XvlfwuXIIlAxXkrzojSVtfQIc7S/uku8p3hLiY5WUAriqkwK+AgUA+WrtWdng0Sda89V7HOODNZCbBNoPKQLRNKoWJc17EWxw+dyqymRLjAQ=</SignatureValue></Signature></Interface>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Java>${this:16}.MoveNext()</Java>
|
||||
<Params />
|
||||
<Name>MoveNext</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Java>${this:16}.Reset()</Java>
|
||||
<Params />
|
||||
<Name>Reset</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
||||
|
@ -125,7 +125,7 @@
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Java>${this:16}.toArray(new ${T}[${this}.size()])</Java>
|
||||
<Java>((${T}[]) ${this:16}.toArray())</Java>
|
||||
<Params>
|
||||
</Params>
|
||||
<Name>ToArray</Name>
|
||||
@ -206,4 +206,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>0DKs0/92WkOLSBA4QYJH96/8vCo=</DigestValue></Reference></SignedInfo><SignatureValue>A7cSO9FRjdm598vxpPAP3HZ/6sb96PaHzb8FRNI/oZQMs6mlAsfeEcc0CnRC+qCLjiu49IPoTflUcsJ4vfwh+OyefsG23XcYdTFCrFNFjSiiOwxSknjrshyP+splrrhvgRAtZButRgy5XuyKhj7wGUNR3OoYujEgyMBxwko8qjs=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -72,4 +72,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>cUmprobnXdg5Nhlk8vAMJ2coyAo=</DigestValue></Reference></SignedInfo><SignatureValue>XKTAn+4HQ4/anCQ8npTwr1Yrf3AxZc69HuV6muqqws96mCfCvaUhIqmlc2rZsw4CaXd+0bkFunIbLLgqHBaOePb1eKyp29uHhXODO/68lb8kfcPHB4aGO5LKWNPGw3mQoKK4RjuuRdOWZpx1wg7P5BGr+bGdX/gVk8pUUhHzDHs=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -30,4 +30,4 @@
|
||||
<Get>${this:16}.getValue()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>+iuvT/0P8kTGm4mUQp1qNOHcnuM=</DigestValue></Reference></SignedInfo><SignatureValue>V3dGjywn9LJWjroZCUMyPMtl/nuKbtonNsi+QEB7aLalgu0Brz6zmiV86bz6d6C9IZGQR+567JbbrIGR1ZJ1gv69CS8O44sD+FOeyrMsFZ1DBQDHB2QctU9dFlF9tDfyOC5uA4FuYGMAWwk98pEhvV3gaGv5RtGqZkxAGlT2v8M=</SignatureValue></Signature></Struct>
|
||||
</Struct>
|
||||
|
@ -0,0 +1,135 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.util.HashMap</Import>
|
||||
</Imports>
|
||||
<Java>HashMap*[${K},${V}]*</Java>
|
||||
<Name>System.Collections.Generic.Dictionary</Name>
|
||||
<TypeParams>
|
||||
<Name>K</Name>
|
||||
<Name>V</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<Type>System.Collections.Generic.IDictionary*[K,V]*</Type>
|
||||
<!-- <Type>IList<T>, ICollection<T>,
|
||||
IEnumerable<T>, IList, ICollection, IEnumerable</Type> -->
|
||||
</Inherits>
|
||||
<Iterable>
|
||||
<ElementType>KeyValuePair*[K,V]*</ElementType>
|
||||
<Java>${expr}.entrySet()</Java>
|
||||
</Iterable>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.put(${key}, ${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>K</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>V</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Add</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.clear()</Java>
|
||||
<Params />
|
||||
<Name>Clear</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.containsKey(${key})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>K</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>ContainsKey</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.containsValue(${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>V</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>ContainsValue</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.remove(${key})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<!-- in java actually returns the value removed -->
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this:16}.size()</Java>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this:16}.size()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.LCC.CollectionSupport</Import>
|
||||
</Imports>
|
||||
<Type>System.Collections.Generic.KeyCollection*[K]*</Type>
|
||||
<Name>Keys</Name>
|
||||
<Get>CollectionSupport.mk(${this:16}.keySet())</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>V</Type>
|
||||
<Get>${this:16}.get(${key})</Get>
|
||||
<Set>${this:16}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new HashMap*[${K},${V}]*()</Java>
|
||||
<Params />
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Fields />
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
</Class>
|
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.LCC.ICollection</Import>
|
||||
</Imports>
|
||||
<Java>ICollection*[${T}]*</Java>
|
||||
<Name>System.Collections.Generic.ICollection</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Inherits>
|
||||
<Type>System.Collections.Generic.IEnumerable*[T]*</Type>
|
||||
</Inherits>
|
||||
<Iterable>
|
||||
<ElementType>T</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Properties>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.add(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Add</Name>
|
||||
<Return>System.Int32</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -0,0 +1,103 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.util.Map</Import>
|
||||
</Imports>
|
||||
<Java>Map*[${K},${V}]*</Java>
|
||||
<Name>System.Collections.Generic.IDictionary</Name>
|
||||
<TypeParams>
|
||||
<Name>K</Name>
|
||||
<Name>V</Name>
|
||||
</TypeParams>
|
||||
<Iterable>
|
||||
<ElementType>System.Collections.Generic.KeyValuePair*[K,V]*</ElementType>
|
||||
<Java>${expr}.entrySet()</Java>
|
||||
</Iterable>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.put(${key}, ${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>K</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>V</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Add</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.clear()</Java>
|
||||
<Params />
|
||||
<Name>Clear</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.containsKey(${key})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>K</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>ContainsKey</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.remove(${key})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>K</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<!-- in java actually returns the value removed -->
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>K</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>V</Type>
|
||||
<Get>${this:16}.get(${key})</Get>
|
||||
<Set>${this:16}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.LCC.CollectionSupport</Import>
|
||||
</Imports>
|
||||
<Type>System.Collections.Generic.ICollection*[K]*</Type>
|
||||
<Name>Keys</Name>
|
||||
<Get>CollectionSupport.mk(${this:16}.keySet())</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Type>System.Collections.Generic.ICollection*[V]*</Type>
|
||||
<Name>Values</Name>
|
||||
<Get>${this:16}.values()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Interface>
|
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.LCC.IEnumerable</Import>
|
||||
</Imports>
|
||||
<Java>IEnumerable*[${E}]*</Java>
|
||||
<Name>System.Collections.Generic.IEnumerable</Name>
|
||||
<TypeParams>
|
||||
<Name>E</Name>
|
||||
</TypeParams>
|
||||
<Iterable>
|
||||
<ElementType>E</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Properties>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Java>${this:16}.getEnumerator()</Java>
|
||||
<Params />
|
||||
<Name>GetEnumerator</Name>
|
||||
<Return>System.Collections.Generic.IEnumerator*[E]*</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.LCC.IEnumerator</Import>
|
||||
</Imports>
|
||||
<Java>IEnumerator*[${E}]*</Java>
|
||||
<Name>System.Collections.Generic.IEnumerator</Name>
|
||||
<TypeParams>
|
||||
<Name>E</Name>
|
||||
</TypeParams>
|
||||
<Iterable>
|
||||
<ElementType>E</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>E</Type>
|
||||
<Name>Current</Name>
|
||||
<Get>${this:16}.getCurrent()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Java>${this:16}.moveNext()</Java>
|
||||
<Params />
|
||||
<Name>MoveNext</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Java>${this:16}.reset()</Java>
|
||||
<Params />
|
||||
<Name>Reset</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
</Interface>
|
@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.CollectionSupport</Import>
|
||||
</Imports>
|
||||
<Java>CollectionSupport*[${T}]*</Java>
|
||||
<!-- Actually: System.Collections.Generic.Dictionary<TKey, TValue>.KeyCollection -->
|
||||
<Name>System.Collections.Generic.KeyCollection</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
</Inherits>
|
||||
<Iterable>
|
||||
<ElementType>T</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.Generic.KeyCollectionSupport</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.copyTo(${array}, ${index})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T[]</Type>
|
||||
<Name>array</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>index</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>CopyTo</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.LCC.EnumeratorSupport</Import>
|
||||
</Imports>
|
||||
<Java>new EnumeratorSupport*[T]*(${this:16}.iterator())</Java>
|
||||
<Params>
|
||||
</Params>
|
||||
<Name>GetEnumerator</Name>
|
||||
<Return>System.Collections.Generic.IEnumerator*[T]*</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this:16}.size()</Java>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this:16}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
</Constructors>
|
||||
<Fields />
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
</Class>
|
@ -0,0 +1,205 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.LCC.CSList</Import>
|
||||
</Imports>
|
||||
<Java>CSList*[${T}]*</Java>
|
||||
<Name>System.Collections.Generic.List</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<Type>IList*[T]*</Type>
|
||||
<Type>ICollection*[T]*</Type>
|
||||
<Type>IEnumerable*[T]*</Type>
|
||||
</Inherits>
|
||||
<Iterable>
|
||||
<ElementType>T</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.add(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Add</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Java>${this:16}.addRange(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T[]</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>AddRange</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.addRange(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Collections.Generic.IEnumerable*[T]*</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>AddRange</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.clear()</Java>
|
||||
<Params />
|
||||
<Name>Clear</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.contains(${key})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>key</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Contains</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.add(${index}, ${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>index</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Insert</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.remove(${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.remove((int)${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>index</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>RemoveAt</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Java>((${T}[]) ${this:16}.toArray())</Java>
|
||||
<Params>
|
||||
</Params>
|
||||
<Name>ToArray</Name>
|
||||
<Return>T[]</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>java.util.Collections</Import>
|
||||
</Imports>
|
||||
<Java>Collections.sort(${this})</Java>
|
||||
<Params />
|
||||
<Name>Sort</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this:16}.size()</Java>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Count</Name>
|
||||
<Get>${this:16}.size()</Get>
|
||||
<Set>${this:16}.setCount(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers>
|
||||
<Indexer>
|
||||
<Imports />
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>i</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Type>T</Type>
|
||||
<Get>${this:16}.get(${i})</Get>
|
||||
<Set>${this:16}.add(${i}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new CSList*[${T}]*()</Java>
|
||||
<Params />
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new CSList*[${T}]*(${length})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>length</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Java>new CSList*[${T}]*(${collection})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T[]</Type>
|
||||
<Name>collection</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Java>new CSList*[${T}]*(${collection})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Collections.Generic.IEnumerable*[T]*</Type>
|
||||
<Name>collection</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</Constructor>
|
||||
</Constructors>
|
||||
<Fields />
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
</Class>
|
@ -9,17 +9,18 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.util.ArrayList</Import>
|
||||
<Import>CS2JNet.System.Collections.CSList</Import>
|
||||
</Imports>
|
||||
<Java>ArrayList*[${T}]*</Java>
|
||||
<Java>CSList*[${T}]*</Java>
|
||||
<Name>System.Collections.Generic.List</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<!-- <Type>IList<T>, ICollection<T>,
|
||||
IEnumerable<T>, IList, ICollection, IEnumerable</Type> -->
|
||||
<Type>IList*[T]*</Type>
|
||||
<Type>ICollection*[T]*</Type>
|
||||
<Type>IEnumerable*[T]*</Type>
|
||||
</Inherits>
|
||||
<Iterable>
|
||||
<ElementType>T</ElementType>
|
||||
@ -36,14 +37,10 @@
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Add</Name>
|
||||
<!-- TODO: this.add(e) actually always returns true -->
|
||||
<Return>System.Int32</Return>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>java.util.Arrays</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.addAll(Arrays.asList(${arg}))</Java>
|
||||
<Java>${this:16}.addRange(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T[]</Type>
|
||||
@ -55,7 +52,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.addAll(${arg})</Java>
|
||||
<Java>${this:16}.addRange(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Collections.Generic.IEnumerable*[T]*</Type>
|
||||
@ -125,7 +122,7 @@
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Java>${this:16}.toArray(new ${T}[${this}.size()])</Java>
|
||||
<Java>((${T}[]) ${this:16}.toArray())</Java>
|
||||
<Params>
|
||||
</Params>
|
||||
<Name>ToArray</Name>
|
||||
@ -169,12 +166,12 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new ArrayList*[${T}]*()</Java>
|
||||
<Java>new CSList*[${T}]*()</Java>
|
||||
<Params />
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new ArrayList*[${T}]*(${length})</Java>
|
||||
<Java>new CSList*[${T}]*(${length})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Int32</Type>
|
||||
@ -183,7 +180,7 @@
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Java>new ArrayList*[${T}]*(Arrays.asList(${collection}))</Java>
|
||||
<Java>new CSList*[${T}]*(${collection})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T[]</Type>
|
||||
@ -192,10 +189,7 @@
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.Generic.GenArrayListSupport</Import>
|
||||
</Imports>
|
||||
<Java>GenArrayListSupport.*[${T}]*toList(${collection})</Java>
|
||||
<Java>new CSList*[${T}]*(${collection})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Collections.Generic.IEnumerable*[T]*</Type>
|
||||
@ -208,4 +202,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>dMxWahle6+JWazXF5rdEoxNFqHQ=</DigestValue></Reference></SignedInfo><SignatureValue>QHAtm2BA/7k2dSASQHMw6aKKJEGk6P2x5HAGuae81wbbLDkrnihhH2PFU+6WFudzrinE4JSp9WOHKzOxJ659kj6Wg8qx5asDxOhkhG06He0TE4jcq64/U0tM2GZxViqhaFHAExXAZoT9rxjqP5prxerSnSvfy16hhPAixY5XEEA=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -49,4 +49,4 @@
|
||||
<Get>${this}.size()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Uvp+vMhERPFYV8x/KYKxjZRz2gE=</DigestValue></Reference></SignedInfo><SignatureValue>PWmTTNJTr/Y3eTi/Pmf/UZJwPA44r9XFMLnj7v5rf9PZuhUZvOt6WQw5p+gmCcmuDQv/Sw0Z/zMTzuMhhgZwfFgXHuTrdVcy5bQASNnfdApB9EJtGryJuhUERcEXxAtm/5gRrIUYWSPlglDlOuNGbsVq+huVI3fjLQFEmlOPktY=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -142,4 +142,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>CyFYJRPJJJC+BdPe7KI/hR0PeK0=</DigestValue></Reference></SignedInfo><SignatureValue>AZ0nzp3rrggsT6CxfIFTSUcr4RAH6yv8sF0m4OyMKEbB5O3fQOW/deSIwBbOVykX520B7mewcEVGxCAa5z3QgAdADC59gYCcudG+pkifY7ltivIClVuT105fBvAxGkRO0Mh+EWqRgFJnxt/x7/ujMj/Q0kiOBYWHQlK7I+Uvugk=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -38,4 +38,4 @@
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>6gV7You6WIQBvjaQbSXW1A6CzNc=</DigestValue></Reference></SignedInfo><SignatureValue>Mt45VxyPfNFtMOXmD5RZkBNxjt1w/+wBCsgs/BnTzTPJSL/SKSJAQt7a7WbzDHTiBVaDmneuvPwX9eFpTIxvGNAYHQxepPMmuLemSQMWOCHsZYhvY4NrxprBLrLGgJ6rnGLVIds+edIhYumnkih3wmQlwx4enBXXlsUo/6BtmqM=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -110,4 +110,4 @@
|
||||
<Set>${this:16}.put(${key}, ${value})</Set>
|
||||
</Indexer>
|
||||
</Indexers>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>EWxwABnf9ST7gUYb9kpBDRkVPlw=</DigestValue></Reference></SignedInfo><SignatureValue>Ot9PdGRVKbd+jpJ2FjasH+hnjpEv/GtZNxWvqA+ylC5N3MAZzMJ0KV43VI+EJ3rYnkqYJlk4qlS7WiPOw49xYe8EBntC9jcn+QCP9SnTSnKIc4GJjSL3C4/zm9HRwluevAwpAMVJRKki0eEODGVTI8gDgEOqiz0lMF+G40poxJk=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -9,24 +9,19 @@
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.Generic.IEnumeratorSupport</Import>
|
||||
<Import>java.lang.Iterable</Import>
|
||||
</Imports>
|
||||
<Java>IEnumeratorSupport</Java>
|
||||
<Name>System.Collections.IEnumerator</Name>
|
||||
<Java>Iterable</Java>
|
||||
<Name>System.Collections.IEnumerable</Name>
|
||||
<Uses />
|
||||
<Inherits> <Type>System.Object</Type> </Inherits>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.Collections.Generic.EnumeratorSupport</Import>
|
||||
</Imports>
|
||||
<Java>EnumeratorSupport.mk(${this:16}.iterator())</Java>
|
||||
<Params />
|
||||
<Name>GetEnumerator</Name>
|
||||
<Return>System.Collections.IEnumerator</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Iterable>
|
||||
<ElementType>System.Object</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>sixfgqz4xuUkbenJmdZoedGBFN0=</DigestValue></Reference></SignedInfo><SignatureValue>U/2TvtQN5sFEJOtHG4hMrB+MWlOP5mk7UctdvITS80+/66yidqE06LHUL5PpYDwrPhCFCpG4b7YqLuaDZ2SB97IcLmJRBntCkhRyRULRe4bguyZtSCAgD+tPH4Xz0FT81XBs+W/h/J9R+fOn6/J243sdwf5eiaA60kph87hlU5M=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -8,9 +8,9 @@
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.Generic.IEnumeratorSupport</Import>
|
||||
<Import>CS2JNet.System.Collections.IEnumerator</Import>
|
||||
</Imports>
|
||||
<Java>IEnumeratorSupport</Java>
|
||||
<Java>IEnumerator</Java>
|
||||
<Name>System.Collections.IEnumerator</Name>
|
||||
<Methods>
|
||||
<Method>
|
||||
@ -27,4 +27,4 @@
|
||||
<Get>${this:16}.getCurrent()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>EexqLMXmbAIe9ZNbxrJYBZDcwsM=</DigestValue></Reference></SignedInfo><SignatureValue>CeXfheOhf+sCsrhVCbuhH0sRuOabcn851HR4E/wNIQ8/YmVRZfdOlzRJVadHXX+bfmA4WEyWH+zzwBTjapaMLVyvtIfWImjbyQJx+WEmAiEv2b0k/r0RfzIRt8xF4/E95wwWD2bKLwB2YEEYchp87Mu6DnSuneJxlncMjH+xxWo=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -71,4 +71,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>jKtaIt9Mb8orQ5XjTN0rBD6NALM=</DigestValue></Reference></SignedInfo><SignatureValue>A4PZi9hfTW0DTyaISV0oegjg1hWfMLYrMdwd5iXP2XebpFCh15oiJefuYvsTSv2VG6QY0aQ/cifoMbqTu0+Mi/3iEpvPzsnmC/FQHDA6YWFJKnVp+/tV2tU6E7QnZaeyCK+i6ZDKhXFHMlpu1BstQv1aKzZwDMXv7vDqW92incc=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.IEnumerable</Import>
|
||||
</Imports>
|
||||
<Java>IEnumerable</Java>
|
||||
<Name>System.Collections.IEnumerable</Name>
|
||||
<Uses />
|
||||
<Inherits> <Type>System.Object</Type> </Inherits>
|
||||
<Methods>
|
||||
</Methods>
|
||||
<Iterable>
|
||||
<ElementType>System.Object</ElementType>
|
||||
<Java>${expr}</Java>
|
||||
</Iterable>
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
</Interface>
|
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.Collections.LCC.IEnumerator</Import>
|
||||
</Imports>
|
||||
<Java>IEnumerator</Java>
|
||||
<Name>System.Collections.IEnumerator</Name>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Java>${this:16}.moveNext()</Java>
|
||||
<Params />
|
||||
<Name>MoveNext</Name>
|
||||
<Return>System.Boolean</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Type>System.Object</Type>
|
||||
<Name>Current</Name>
|
||||
<Get>${this:16}.getCurrent()</Get>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Interface>
|
@ -30,4 +30,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>ixzk6Kx8bCs/4AGyB4h8FtWPMh8=</DigestValue></Reference></SignedInfo><SignatureValue>XOgNcGWlOpdm/TuEse9Fo82YDJ8pv7JYSk8tBr2Cdz3Mk3y4/b8alDaMT9bisEcep550jY4nW4HMGS6IxEsHPI4M4q91TZiLpSQhRiUT6yJQg7VxhSaszfROkCCd3OGWBJrgJgZYDIFT7ArrGtkj+eDkv62+qztH7cGhMRrSptU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -140,4 +140,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Rnf8GowFFF9JUEkVxHIh7NNruxc=</DigestValue></Reference></SignedInfo><SignatureValue>D1rqx0ui7x+8pqBSgXVXYfSapffmCkR++UqTYmP36i443cLV2H02XPVocQDM/jW87GCPUkMmdioGxrCIWJbmcnrOepuw77qAFtzQuywTukaQLMk954f5apHzWQlzqzkcNLmWMjd5dviYDD7vGyEVBO2P6cg6m6/PoHqNppFKTZc=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -39,4 +39,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>hlfCVl94jm1nJtIrWXI+KPTFOec=</DigestValue></Reference></SignedInfo><SignatureValue>TFJ3r07y0tmBsWBlostNh2LlZU/Lj2EvpAIbrnHQ/NxtrRMiOeoOTmBqtVllKKZc+2EGI4aqOQuBIFxT+MIasUKiOrSDImqhDYonn+QQnPwH42ruJTcAadWlmOfuqPFqF7hh06JSgrsbfPi4BG2O+5hm94/wOyDYw66BWwNbnRU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -33,4 +33,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>kP5gPp11Yyi1fTz0I9QwDiAUwiU=</DigestValue></Reference></SignedInfo><SignatureValue>PAUMX9tgmmmnEgxeDxrvqMgg0s5ahxzveQyYU2852h/+et01u8jqckjK5jH6DN2Bxi57r8otX8il8qJI8rwlW6hnxzZM0fzKvKBTe0HkXYbux4nXMgSpLLLu6zqmVEqVNLhTKrp2itVO1au67ZKo72WaxSPEIy5Lx6vLfUHNpYw=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -33,4 +33,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>zRdrCE7++fwidkg6cMbjEIYPsoA=</DigestValue></Reference></SignedInfo><SignatureValue>AYWHRbEjQls/eMGYmy1ZuIptui8f/43q/ELndb7y25p/IXUvWrVqqGMkubBQIn4wvu1UUPZ4m4GWoFK9N9refHbLrz2v96z6OQqKHNoTHICgPxoejwbmHTyJpQBxea3+IWp9LyVLEfvRsGB1UQ3hkp4hn5aQsLsluEnPQvlBChU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -30,39 +30,17 @@
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}), ${arg})</Java>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt})${,*]1})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
</Params>
|
||||
<ParamArray>
|
||||
<Type>System.Object[]</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Write</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}), ${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</ParamArray>
|
||||
<Name>Write</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
@ -89,51 +67,27 @@
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\n", ${arg})</Java>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\n"${,*]1})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
</Params>
|
||||
<ParamArray>
|
||||
<Type>System.Object[]</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>WriteLine</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\n", ${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</ParamArray>
|
||||
<Name>WriteLine</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>System.out</Java>
|
||||
<Type>System.IO.TextWriter</Type>
|
||||
<Name>Out</Name>
|
||||
<Get>System.out</Get>
|
||||
<Set>${this:16}.setOut(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
@ -143,4 +97,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>C/JkxxYDVsDjrI0iFvNolTpMsUc=</DigestValue></Reference></SignedInfo><SignatureValue>FXX3Pzv1CtQh5i7O7QQMUGTg2dvfP5pzNTkGEddjZWMFv9NdvkZcNW+uB44INRKw41r2bLd3vCnUVrbmR/xOaoHlI3ItGtEQYXiL4xB/nrYusBjrA7Eg6xoB67eMODMCOjSLAhEkparE7M3dDomgDF5zOzWCtUSj0vxrmkIe7CA=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -158,4 +158,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>GNgoFJf+qvGzcrBX99c+hyOOn6s=</DigestValue></Reference></SignedInfo><SignatureValue>RN+idg6uO8WuY17V8IBHtMb4KHoIWaWZwjyuYY+fMzqt3tgaE8umxzEj2bA0g92ZkFPYpXCbrMeyBfo00EYG2hQ4gU3PFP+qeAF9wTetxr2Bq6JUngC169bLpXVT1O6TVQGYxu8jeM+RlHDC6T8sXIcaZuHgBMNp8kA4d2QVQjk=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -33,4 +33,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>H2u7T/0n1uzmhUP9xs7s3vpwUio=</DigestValue></Reference></SignedInfo><SignatureValue>Hkshe178tcOCf0FmiHg3TFRNsTBTbYZygQHl0iYtofdp+IM3h6YvlbyYT4cGJcGUVEcqijLqYR8WG1up0lh4ohI2k+/uGP7ogyx73sV+d4DnGPKdSyxdN+dnQvqb6BBfxE/basxO1jZdZfu7hTacTqbewAN3UtjS66qQvkv8fhU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -52,7 +52,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
<Import>CS2JNet.System.DateTimeSupport</Import>
|
||||
</Imports>
|
||||
<Java>DateTimeSupport.ToString(${this}, ${format})</Java>
|
||||
<Params>
|
||||
@ -244,6 +244,12 @@
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties>
|
||||
<Property>
|
||||
<Java>Calendar.getInstance().getTime()</Java>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>MinDate</Name>
|
||||
<Get>new Date(Long.MIN_VALUE)</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>java.util.Calendar</Import>
|
||||
@ -254,6 +260,15 @@
|
||||
<Get>Calendar.getInstance().getTime()</Get>
|
||||
<Set>${this:16}.setNow(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>java.util.Calendar</Import>
|
||||
<Import>java.util.TimeZone</Import>
|
||||
</Imports>
|
||||
<Type>System.DateTime</Type>
|
||||
<Name>UtcNow</Name>
|
||||
<Get>Calendar.getInstance(TimeZone.getTimeZone("UTC")).getTime()</Get>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports>
|
||||
<Import>java.util.Date</Import>
|
||||
@ -293,4 +308,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>aS41NnPSqdswZabzUpLjdQXVxQ8=</DigestValue></Reference></SignedInfo><SignatureValue>Vo2V6gS9qXEWTJk9RmikSDMMbyISWEDYE48zh+lDKYIpKAvxVxplIam62uiKd0D0JsQFyg72ihC0g8OON5+TkMwq9wALIvs/xQgxGsY0LUo9j281QqRrk+zR9+4pBvEJwDxQHVsJqK3ZnJLBiMDbKthB6WJkUmog974hFqtXLeM=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>double</Java>
|
||||
<BoxedJava>Double</BoxedJava>
|
||||
<Name>System.Decimal</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -85,7 +86,16 @@
|
||||
<Indexers />
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
<Casts>
|
||||
<!--
|
||||
<Cast>
|
||||
<Imports />
|
||||
<Java>((Number)${expr}).doubleValue()</Java>
|
||||
<From>System.Object</From>
|
||||
<To>System.Decimal</To>
|
||||
</Cast>
|
||||
-->
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>HOCURdmtdNjugKpemqMtIWPT+8s=</DigestValue></Reference></SignedInfo><SignatureValue>K+o2aTlF7naCJuwg+jfvEX/ozzH76ITMHvtyFBKtkXBLZ4KItNXZPHaIEsHoBW6lIXESvCxcfkeE+qjg5PqfZzYWZUXie5rJko4pVDdmcEv3HYPYHtKvMq1H9XqeUT6fWvmI45VJMPUxyzcIqb05NN0UYUiODJDMXonPC27NqnU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>double</Java>
|
||||
<BoxedJava>Double</BoxedJava>
|
||||
<Name>System.Double</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -107,7 +108,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
<Import>CS2JNet.System.DoubleSupport</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.parse(${dStr}, ${style}, ${provider})</Java>
|
||||
<Params>
|
||||
@ -129,7 +130,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.*</Import>
|
||||
<Import>CS2JNet.System.DoubleSupport</Import>
|
||||
</Imports>
|
||||
<Java>DoubleSupport.ToString(${this}, ${format})</Java>
|
||||
<Params>
|
||||
@ -204,6 +205,14 @@
|
||||
<Get>Double.POSITIVE_INFINITY</Get>
|
||||
<Set>${this:16}.setPositiveInfinity(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this}</Java>
|
||||
<Type>System.Double</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
<Set>${this:16}.setValue(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
@ -216,7 +225,15 @@
|
||||
<From>System.Double</From>
|
||||
<To>System.Int32</To>
|
||||
</Cast>
|
||||
<!--
|
||||
<Cast>
|
||||
<Imports />
|
||||
<Java>((Number)${expr}).doubleValue()</Java>
|
||||
<From>System.Object</From>
|
||||
<To>System.Double</To>
|
||||
</Cast>
|
||||
-->
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>AFdHPLz9RmNtz0BPBa1r5zX/rUk=</DigestValue></Reference></SignedInfo><SignatureValue>GeLp/kkAz4qtocq+sG9D3+lHXYkOOZCyFvzWxUBz8GBGLFciku5knoZHYIOiCuORpuqZOwTrAALRETqmmp8U1zQho5Xaf73X85K934Cg5mltU8SGQ8ZLi9t2TIRTvJ0Ys7Ez3x1rc4Ks9a6s5H5Ko9h9LaFQA+vGCxoWc0o+dXE=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -49,8 +49,10 @@
|
||||
<Return>System.String</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>Enum.valueOf((Class*[? extends Enum]*)${enumType:15}, ${value})</Java>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.EnumSupport</Import>
|
||||
</Imports>
|
||||
<Java>EnumSupport.Parse((Class*[? extends Enum]*)${enumType:15}, ${value})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Type</Type>
|
||||
@ -64,6 +66,28 @@
|
||||
<Name>Parse</Name>
|
||||
<Return>System.Object</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.EnumSupport</Import>
|
||||
</Imports>
|
||||
<Java>EnumSupport.Parse((Class*[? extends Enum]*)${enumType:15}, ${value}, ${ignoreCase})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Type</Type>
|
||||
<Name>enumType</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>value</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Boolean</Type>
|
||||
<Name>ignoreCase</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Parse</Name>
|
||||
<Return>System.Object</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties />
|
||||
<Events />
|
||||
@ -96,4 +120,4 @@
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>421taeYQfl8V0tcircAA5cgNF0k=</DigestValue></Reference></SignedInfo><SignatureValue>PyqeBNqGPZ4PQJx5QA+x2S2m8q7O1RZHsx2u2rJUhyoZbLrF+NBIfomV7dbIgIJ9Q5tjQTEyOKPRVve5SmgJ97w3bKOkyUgZbGk69vSMsBbtUk8IgtsYCfcBG9UmvjCBh9pV5bReRf8iJAvnLQpC9n9GRomXGV+K7DMzPrFwz0E=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -95,4 +95,4 @@
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>4k0U7tevFUQGN33Tfaobpi/xr64=</DigestValue></Reference></SignedInfo><SignatureValue>DPkWTs8CFtDAbj2n+7s8QOnQyELUqZGzUoo/MPJ/VJozmcYviAip5P2q1FIzeZiNgLmvihJlz2MM+frdFAXuoUYvTqhbOq5jgPSsCkZymbvNyVR260JixNfSEIxunzyREvMPS0N0Lvmi7znH2IXxfUgXJpOw1El5qzfng49LTp8=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -43,4 +43,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>ptKNWkfazFtlOdOMKPsKSvD096c=</DigestValue></Reference></SignedInfo><SignatureValue>ROp3Fp6wLw1rNYGt34gt3gvDzWW0XKLPMB9/vcEJL4Psd5erNgP2m1dNBPVYZ5/Sq7hReNwFGygxVoNDbJuC9gJ0LAS/mukUnTObx0qvfsSQzD/+RZc6iiN8Jlq3XNaV7yv2NwrQ07JnTBUT3RTeOXLLdPgVCUSRpVc87PJVifg=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -26,4 +26,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>10gQjwZURfUiWRQQZHHLhjzvyao=</DigestValue></Reference></SignedInfo><SignatureValue>LqaNkGhL5G8I7kNkIqKGWaU1y3aQS1NNeLnUK0bAhiQDk2aatsldV3RvSyA+sUyHJ/La+jYz5chPUmZusenax1EoM9CvvOoP9Uzpz4V4VtpWWBJr65Hc9rLhyfkgxoGgSnuvFOxxLVd/t1LqzE+SHlfgaxYTttwwIoSqHksEsAc=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -37,7 +37,7 @@
|
||||
</Params>
|
||||
<Name>Combine</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
<Name>TEventArgs</Name>
|
||||
</TypeParams>
|
||||
<Return>System.EventHandler*[TEventArgs]*</Return>
|
||||
</Method>
|
||||
@ -58,7 +58,7 @@
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
<Name>TEventArgs</Name>
|
||||
</TypeParams>
|
||||
<Return>System.EventHandler*[TEventArgs]*</Return>
|
||||
</Method>
|
||||
@ -80,4 +80,4 @@
|
||||
<Return>void</Return>
|
||||
</Invoke>
|
||||
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>yz+yOlqpwafASqBPdP2mB/lVgZk=</DigestValue></Reference></SignedInfo><SignatureValue>Nv+agoqBJd5WaI7/+c3HuvQ/dt5/5j3fHCKxNm4v8TZITAC8J+AbF8DN3l3ZZC1+zmhBzRTyrMMD7EWi7zumiRrhC2r/+rUpYbfOeiHANORPmwqP5NvSBeUbWvEp3VRBtQZHYNTDNG1gbOApoTGZi0z3dSv1ySftgALkYlxmbrc=</SignatureValue></Signature></Delegate>
|
||||
</Delegate>
|
@ -103,4 +103,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>yu2wOTyUyadVCuq3eoz/y2QNoGs=</DigestValue></Reference></SignedInfo><SignatureValue>ZdPXY6PcJn6yuDYvUzlFwxVDdR1r5a+dX1bLKQnRZKq7e8TV/K5ObmfbOkAvmqd+eIBWUlUSHbCPMoRlhYW8BQFIYcOf2YvItZLn9QWO1PWlvkNYPVmmofT9OCupVfRAB+ZIL10fi1NvAE65S24UqVpSAuk6qXrOqFvRyvhBQ00=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -41,4 +41,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>YzA16cWwMe/tL/4GAcwMR4/czcg=</DigestValue></Reference></SignedInfo><SignatureValue>Q3ilO3ARI/H4ek1HnJ0VF5xXzVgex2V1AmSfeMX0GTuDC9rH2OnQPQv+sowzDT+CHHQ7wFqbRqCGRu76z6sYrueZi+infu8SoMUo77UYLgKzDaoOz0nC+J0mJlL35ExKHs7KlaG2eHW3CQr2ogagY5VUktWwIWW8XLkaLMqOZ90=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -8,8 +8,10 @@
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>TODO</Java>
|
||||
<Imports>
|
||||
<Import>java.util.Locale</Import>
|
||||
</Imports>
|
||||
<Java>Locale</Java>
|
||||
<Name>System.Globalization.CultureInfo</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -36,4 +38,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Vsg8TZxeGQwn7AAjmcVy7PWrVmk=</DigestValue></Reference></SignedInfo><SignatureValue>YovJ4GmShMK+vdZ/Mvx9ww510jYu76KRQTptuUoxZbxfQ3u/ePrOuIQvluX2NXT6zvK3L5Cs+jnAehQ9AZGY8SZJdUJl6ElB9Nl879MYB7LwnXsgfJGyyLzdSQ37yOQKBY72NfmiNdY0m7XildocSaWUFFeGKVPaNdU/w6l+L6Y=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -46,4 +46,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>hNTYNBbpVjGNDduq5f1DR52cmBQ=</DigestValue></Reference></SignedInfo><SignatureValue>S7kMe5TlEJRRqsmDhi4DBf+PXnSN1+IXuEBsf5e7oNJYTkSW0p5mNLSh9WXsEofeQF+pFllqk5br7fzynm4AgU5+BEpdphi5DbpTardAEe/s1jWIuy7NPgGW8iEX7kn+9igBfODOo+FQVG9z0hVXRHF0E3nQIvGwqEJrOzAwhZY=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -53,4 +53,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>YcWFOxs0ChrrveGzSpzTQsOlvyk=</DigestValue></Reference></SignedInfo><SignatureValue>bKa1RcaZuRQ2MRIrwsEVE5WJ/5vkgrXH3/jzan7SJiAWW+a9/f+YbTTrJ9+qjKgNhZPA0KXtBqwSWOltD2nL+Z8uIVOzn9BL6NNac1jq+JG1z7LA6usH8eZ+riBtBsWIx8LbKsgqpzSsN0o/JFIf9PCgUMdAa+FRarL1jCElvis=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -65,4 +65,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Tp6afT/OOq5ZjPtIh+5sx/AznjE=</DigestValue></Reference></SignedInfo><SignatureValue>SBAuNXFb2mDvbwarVc1cEamAfpEcSFiCdg7vRdFqHdPZkX0l52vLAHkQue0//Lrhi0hS+H/cKH7yL/+nmb8riN0bCBNlvGv4WKd0cR3+xzMyM64uD1qK8cHaSbezuBnrg3Op57fY+8C7g7ZrKP+/NSBbTihZupD86KgHYt/UdFA=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -26,4 +26,4 @@
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>u2nG8Uyuf+PYnlOdhaRxQ6HoTWE=</DigestValue></Reference></SignedInfo><SignatureValue>B65UQHeWayb2ALjl2pf8KJZBZ+azKV1CUD3y6H1CiX4V4Uy75BNemElxGZqb9vioYgjiXb67JROyng4ydVcizK0O1VY3M2O2TcERZSSHnzyezQOuPhyHmKM1ps0PclEHufl7h9zCBZ4gEY0dcSWL/eLb2YwNeMGYehu+QBMsAso=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
36
CS2JLibrary/NetFramework/System/IComparable'1.xml
Normal file
36
CS2JLibrary/NetFramework/System/IComparable'1.xml
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>Comparable*[${T}]*</Java>
|
||||
<Name>System.IComparable</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits> <Type>System.Object</Type> </Inherits>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.compareTo(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>*[T]*</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>CompareTo</Name>
|
||||
<Return>System.Int32</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
</Interface>
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
@ -9,14 +9,14 @@
|
||||
-->
|
||||
<Interface xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>IComparable</Java>
|
||||
<Java>Comparable</Java>
|
||||
<Name>System.IComparable</Name>
|
||||
<Uses />
|
||||
<Inherits> <Type>System.Object</Type> </Inherits>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.Compare(${arg})</Java>
|
||||
<Java>${this:16}.compareTo(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
@ -30,4 +30,4 @@
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>QW7zplxnu6rYgpu0uqJgggP3fSo=</DigestValue></Reference></SignedInfo><SignatureValue>GeWHzaqovCST5IYkoACbZgKIpSm6bx4FprDZMyTVZKddmTlLTp3cbhXJso2GxzEhz8cfbRac8axPMLLPtnZa3qEv+7zAsSJKcHglIpQMbfoP5jNUiEFo6LIodpU7BTxzFS+PEC8hLFSxUwKpWqGnnL+sx1Ie34EYgOcRNCDwQU8=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -27,4 +27,4 @@
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>+vVUUFftRdH5Pr1U9UgceoocL/c=</DigestValue></Reference></SignedInfo><SignatureValue>iSpArQXUl74iZlhpxXJA0uxKNQP58ZhDGoiQafnENk6Sr2WkJrv1+FbrcL/VoqEvgT6EZ0lzvv1jbKJY0h6grUsn4CcN2J4MCttnAOCnemuxaVb00aASlLUwmN7InqdhebdjH4uFR7UUKm7qYq5EvAR095fu0A/zGWSJ7L/tXO4=</SignatureValue></Signature></Interface>
|
||||
</Interface>
|
||||
|
@ -163,4 +163,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>VhV6lARiqMUmCrlSRS70iH9eVC8=</DigestValue></Reference></SignedInfo><SignatureValue>cNsBhGGskh7xMpVV2aLEVMnceR42o1BOIBda++MO9mRYOwIESDqsoL98YzSIkF/KM2l97EB7OaaTryRHmOF9b6uhxQvIwmNsgpMSdIh9IF/ya8A3uMggoimoppl0+JsmxYCRlOSWrEsqG9mstpV6aP7LRY4a+z8ej8yg2KMLEac=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.io.*</Import>
|
||||
<Import>CS2JNet.JavaSupport.io.FilterOnlyFiles</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.listFiles(new FilterOnlyFiles())</Java>
|
||||
<Params />
|
||||
@ -29,7 +29,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.JavaSupport.io.*</Import>
|
||||
<Import>CS2JNet.JavaSupport.io.FilterOnlyDirs</Import>
|
||||
</Imports>
|
||||
<Java>${this:16}.listFiles(new FilterOnlyDirs())</Java>
|
||||
<Params />
|
||||
@ -65,4 +65,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>M5bvPI9hKhcS1BoSMoDBh+3ow3g=</DigestValue></Reference></SignedInfo><SignatureValue>edsyG6QEzLAk0s1vvwPZ5597Qvb89tJubcawPQdxJP8Oj6gwT/JWsIuVdYjiHaEFombjk/d5z9mAykyCTmrJgL3dZyY9p08ctu0+uSmQqjIKMlRmT3BuCIVrmoI3rB5HhY9DPlcZYiW1SAgeRYrnwF24VFZ7E1/FcyIUC5sFOjU=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -18,10 +18,12 @@
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.PrintWriter</Import>
|
||||
<Import>java.io.OutputStreamWriter</Import>
|
||||
<Import>java.io.FileOutputStream</Import>
|
||||
<Import>java.nio.charset.Charset</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedWriter(new OutputStreamWriter(new FileOutputStream(${path}), Charset.forName("UTF-8")))</Java>
|
||||
<Java>new PrintWriter(new OutputStreamWriter(new FileOutputStream(${path}), Charset.forName("UTF-8")))</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
@ -33,7 +35,8 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.FileOutputStream</Import>
|
||||
<Import>java.io.BufferedOutputStream</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedOutputStream(new FileOutputStream(${path}))</Java>
|
||||
<Params>
|
||||
@ -182,4 +185,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>4Xi9u1+VH4Hued2Hsq+O7cKR3I4=</DigestValue></Reference></SignedInfo><SignatureValue>KlzEAuKG6MHgRi4qXSoF5UBumXJ22m3n9LwfRedxNCtP2fZQ0w0YiyZ/ffQX7KWoB1UY4vtlx5iEHprk1M4Nphl+LqRG5GXwMdj292jrvcSG0HzW2vwW/tTVwnZDyjjfjmLX2pIpFW6UPf6HykZ8zQBmXMhPSCDKedkBV2DqCvY=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -30,4 +30,4 @@
|
||||
<Name>ReadWrite</Name>
|
||||
</Member>
|
||||
</Members>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>efTWa4oLEWHXEL6YOzaqcIomFVo=</DigestValue></Reference></SignedInfo><SignatureValue>gg/i649hSZt7bAPM9ZB0QueDX8++7p7/Yzteb7h4p2YkRI22vMM2Lc+jI4lgxIB/Hf5Jd3XI0rGDRcDip2t4bV0ErQbPGTajuJncLj7RJ/BDpCA3nUBWZDYRmypxK/u3r1kf5aCAWQDZm0Bj6XlVK6+++Y+OG2PAkIpbngWlQQc=</SignatureValue></Signature></Enum>
|
||||
</Enum>
|
||||
|
@ -31,4 +31,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>1y1//jRrmn1IDiw5DPAEY3JLwos=</DigestValue></Reference></SignedInfo><SignatureValue>D1Soj4dqI/8ewFGU+ajHQKV1zGZ4tq/Epk0HGxNRLj7UY8MvOf+x9Sc5HIhhtnxfCLsSJ4vnLOHCgSvHu6lyAqtEcF6PnQn6qwe0nLmWY3PehDU9DcXJ6WqbYMLIBAeVYcJbCKIvByAlnnr8KeukrgtwqYnr5fg2pQOrENKZrr8=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -48,4 +48,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>zT7MZf/MtNsbtsieJgt1tkb8G18=</DigestValue></Reference></SignedInfo><SignatureValue>Dz4GmEgPd46EzWfr1FGFh+NdonIxqUFMo2PNIVqvWpOQZHV2QA/juzjeo6F0rURli/KIW9Mx1TGnVIVGrD32hzgerC62ladoAwS90ipITEf//X+mEfu1yEElV7ro7WEDF7Nixih1AhWMuS6bezc2Tm9B9dQpmtH4lOxHJFgis5g=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -42,4 +42,4 @@
|
||||
<Name>Append</Name>
|
||||
</Member>
|
||||
</Members>
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>mo6ChmPjcAlAo0NBWLLZbsocykw=</DigestValue></Reference></SignedInfo><SignatureValue>RlUioSuamZxr9dmH+n+zDAoS31RAR3VRqGwbq0J8Ew28sRdZoXTjz2yJwWvSZIzMRNeMc0v8VZbLRMEM39bSKH51gWKuQ8TFyzTBwMzQDeDsNO5kzdxcE1DYGnZKKplPDKPM8n9mlpuDYginKU8dk3dA/CtPgAmc7X90AuPIhew=</SignatureValue></Signature></Enum>
|
||||
</Enum>
|
||||
|
@ -55,4 +55,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Ffp0ZAAL6/cvcEd3wzAGKfvph6E=</DigestValue></Reference></SignedInfo><SignatureValue>h00T7/kqU7OxN/phB3We3PtyjMkPPm7Kex8evt2CMV2PY61buT3cgoVGmz1VVKeqBr5iAblKeqtEnAsxId21UNEQQG8dZ9XLXd5R1IJcID5gZw4aXBX4ymZcCXqTdgfkAY3f6+Y+0Dcoo1lw9dl3AJ2AorQ3OEDAWx3JnJwo+qA=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -48,4 +48,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Nqv13S/xI9uBrmcuLe+drNaB6b8=</DigestValue></Reference></SignedInfo><SignatureValue>iQUcu2k9+e5NyIoodH+eDiOcEbrHWBSsi9WKdfqbnOuGnJ9Z+L0gfuCOAi/48FKQPvQ6JYNA+CaxfshTfL/rwIfDS5mrFBUaQjZug33WYuKUxuR7ggb9jQpG0ODKRQ36O6lern2HVpSG3QBK6+DWvPMSmUsuNDQPJBTjhubTmqY=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -46,4 +46,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>8CBcOoazDwSkjtE5RVdjt2IlXeI=</DigestValue></Reference></SignedInfo><SignatureValue>AkgW2mQtiG8DxId2b8TVsc1mSA2aLvYznEEDWLKI37Ds1HZ0ZI7x4IEu9usRxiwDujVchjZbAxe32W1Fr4tuuHLcQpnY5Xty66Ktn1v6a4tKIdfwUmoShP6r/V83NTvTtDpPXvsJGVeqacyV62TKzvrLJOhibmLQRJ6I8dqYIb4=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -8,8 +8,10 @@
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>Throwable</Java>
|
||||
<Imports>
|
||||
<Import>java.io.IOException</Import>
|
||||
</Imports>
|
||||
<Java>IOException</Java>
|
||||
<Name>System.IO.IOException</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -21,13 +23,17 @@
|
||||
<Indexers />
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new Throwable()</Java>
|
||||
<Imports>
|
||||
<Import>java.io.IOException</Import>
|
||||
</Imports>
|
||||
<Java>new IOException()</Java>
|
||||
<Params />
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new Throwable(${message})</Java>
|
||||
<Imports>
|
||||
<Import>java.io.IOException</Import>
|
||||
</Imports>
|
||||
<Java>new IOException(${message})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
@ -36,7 +42,9 @@
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Imports>
|
||||
<Import>java.io.IOException</Import>
|
||||
</Imports>
|
||||
<Java>new IOException(${info},${ctxt})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
@ -50,8 +58,10 @@
|
||||
</Params>
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports />
|
||||
<Java>new Throwable(${message}, ${inner})</Java>
|
||||
<Imports>
|
||||
<Import>java.io.IOException</Import>
|
||||
</Imports>
|
||||
<Java>new IOException(${message}, ${inner})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
@ -68,4 +78,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Rh5b9fqcmJ3Mc6y4rcny3+nHpPo=</DigestValue></Reference></SignedInfo><SignatureValue>dKXPtM0THwShuICT119ryLha/pA86yoODUzSi+a0s/02gAyNr4538k8TSBsUQkwSKfHymKuskaYV8ecnYBUlWh7QNTp1QXqiaKlOGbpuAgP8utT3eHWgCzZwwURcGM7gHppwrtUuuFeCtS2QSN4YksGBii1mgjZ4/JnrzMJR2vY=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -115,4 +115,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>3hXB/CetRaRsxGX4tnYLHV3H7y4=</DigestValue></Reference></SignedInfo><SignatureValue>gXU6SIQJodDJtjbem3/rYDKiGU+cyvqX2JTrFyKuzUuT6T7+7ZYgiQudeJhd8NDZnTQZTmsCG82G9UI2ubW/2XOdBpm5nTALzFyXwC4ZJnFouylTslTmXuWrhofL4F15lSLiQfVgnuwxt5VOoedSNWHxhDTjNZxkpagxcGpbUGo=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -9,7 +9,7 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.InputStream</Import>
|
||||
</Imports>
|
||||
<Java>InputStream</Java>
|
||||
<Name>System.IO.Stream</Name>
|
||||
@ -83,7 +83,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.FileInputStream</Import>
|
||||
</Imports>
|
||||
<Java>new FileInputStream(${path})</Java>
|
||||
<Params>
|
||||
@ -98,4 +98,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>/7LuRxVH1kFAnS+6JSEeT5or04U=</DigestValue></Reference></SignedInfo><SignatureValue>JSyT0aGwMVC89vGblAV/VP5RNtNT3aE+TfgGlF3Zam3Q4T6CzRaqEiPLVSArQKp25e90uHM2ZMZkJFj0jNoq+IC5XNJwJ1QTdCEE2to8K+RM6ia12EKgXz/mTn92lrkJ7IvtMQBT8oOG7ZoJODp+srRkwWtkGgF5qwYpwG8eL98=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -9,7 +9,7 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.BufferedReader</Import>
|
||||
</Imports>
|
||||
<Java>BufferedReader</Java>
|
||||
<Name>System.IO.StreamReader</Name>
|
||||
@ -25,7 +25,9 @@
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.BufferedReader</Import>
|
||||
<Import>java.io.BufferedInputStream</Import>
|
||||
<Import>java.io.FileInputStream</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(new FileInputStream(${path}))))</Java>
|
||||
<Params>
|
||||
@ -38,7 +40,9 @@
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.BufferedReader</Import>
|
||||
<Import>java.io.BufferedInputStream</Import>
|
||||
<Import>java.io.FileInputStream</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(new FileInputStream(${path}), ${encoding})))</Java>
|
||||
<Params>
|
||||
@ -55,7 +59,8 @@
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.BufferedReader</Import>
|
||||
<Import>java.io.BufferedInputStream</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(${stream}), ${encoding}))</Java>
|
||||
<Params>
|
||||
@ -73,7 +78,8 @@
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.IO.StreamReader</Import>
|
||||
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.BufferedReader</Import>
|
||||
<Import>java.io.BufferedInputStream</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(${stream}), new EncodingSupport("UTF-8")))</Java>
|
||||
<Params>
|
||||
@ -88,4 +94,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>mfWzBSGsicKccUFHO583fK8qjCw=</DigestValue></Reference></SignedInfo><SignatureValue>epFhZfnoNYknzAJH1+c5AzGAM3zv93AYVClyIPfLexHeHDCnAtds/+KYqjalnXLTZdIO64G7viJi0KySVX+GefJJhPD2aaGQpjdRl5FASjkb3jJr1okzHLtFswweG2ryCAKCEORc9243qr4XMvmghD/MGVuCAi5+5SJ9mor29cE=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -9,9 +9,9 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.io.BufferedWriter</Import>
|
||||
<Import>java.io.PrintWriter</Import>
|
||||
</Imports>
|
||||
<Java>BufferedWriter</Java>
|
||||
<Java>PrintWriter</Java>
|
||||
<Name>System.IO.StreamWriter</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -24,9 +24,10 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.io.BufferedWriter</Import>
|
||||
<Import>java.io.PrintWriter</Import>
|
||||
<Import>java.io.FileWriter</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedWriter(new FileWriter(${path}))</Java>
|
||||
<Java>new PrintWriter(new FileWriter(${path}), true)</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
@ -36,9 +37,10 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.io.BufferedWriter</Import>
|
||||
<Import>java.io.PrintWriter</Import>
|
||||
<Import>java.io.FileWriter</Import>
|
||||
</Imports>
|
||||
<Java>new BufferedWriter(new FileWriter(${path},${append}))</Java>
|
||||
<Java>new PrintWriter(new FileWriter(${path},${append}),true)</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
@ -52,9 +54,9 @@
|
||||
</Constructor>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.io.OutputStreamWriter</Import>
|
||||
<Import>java.io.PrintStream</Import>
|
||||
</Imports>
|
||||
<Java>new OutputStreamWriter(${stream}.getOutputStream())</Java>
|
||||
<Java>new PrintStream(${stream}.getOutputStream())</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.IO.FileStream</Type>
|
||||
@ -67,4 +69,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>C449/ST/pNEcHnL83AfNQf42T9E=</DigestValue></Reference></SignedInfo><SignatureValue>DPWG3lRD2nCHi/R563y7hdnRa7VJuELaX9AeE5yg3FCU6JxZfwd8lbU4l8RjXBEpI/96Mw9nMcBmtdGg5uD6DwHnR3u0DnIF2eGM/Ic6jwIg4Cju/vtwOcUaAwvS+2iH7ibxb4Ao/ACMk+5Lal5GmS6AqXyuzofueProwR2Z4yg=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -9,7 +9,7 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.StringReader</Import>
|
||||
</Imports>
|
||||
<Java>StringReader</Java>
|
||||
<Name>System.IO.StringReader</Name>
|
||||
@ -24,7 +24,7 @@
|
||||
<Constructors>
|
||||
<Constructor>
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.StringReader</Import>
|
||||
</Imports>
|
||||
<Java>new StringReader(${s})</Java>
|
||||
<Params>
|
||||
@ -39,4 +39,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>UiMi7xnsLWGedRt35u+/XLllWO4=</DigestValue></Reference></SignedInfo><SignatureValue>OUGnVJvOSmARacaw8PjXyKv/jT/k5/XHM5NZg9uzVWL4wj7WF6XHoiHf1Rd3Yj3ikiOBAs0f9SPaWbGqkXuzw3zNDoj7V+2X895M9eFt/FGEdcFUpR7EyFTH3zqcukN089OWMfq2F2bsIemaFp+QANA2hlwEZL1eDjmZTSM2mLg=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -39,4 +39,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>eZ5XfRFQS57NI3ywcx0Yl6wLnf4=</DigestValue></Reference></SignedInfo><SignatureValue>eN4ab8eG2r8sJNn/5lUWcMomeRA+SJirGSGBjvlNmpI9/xMNhXhSVyV1R+qMZ/ONp5y4qr8qMlqCN+TSfFpWFD9OHRXebDp6taqwYe4K3q0XCI4fJPmuU5vWuXGnN4Y/ilEpTNUem1OWH/EhNy8dzeD/4qHQP4lPbxfbm2xrVWc=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -9,7 +9,7 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.io.*</Import>
|
||||
<Import>java.io.BufferedReader</Import>
|
||||
</Imports>
|
||||
<Java>BufferedReader</Java>
|
||||
<Name>System.IO.TextReader</Name>
|
||||
@ -50,4 +50,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>kGk5DVeg4qoNmzV91U42UuSckGQ=</DigestValue></Reference></SignedInfo><SignatureValue>cEKS0mgo15gWo/05GSyEEpt7v897Hoxs7BjBaHb7Ii9pfCWeaWUkwXmFjsPoEECTN6shYSpX6L5DMVJF/+P6ApOt6HluwzKuRI0gbwHNw/R4Nugz7Gg5IyGPXlPxKTKGD3YAUMqG+gk9ik60YNgnBP/7OWrX1c8E0dFcyhV/gdM=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -9,9 +9,9 @@
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>java.io.Writer</Import>
|
||||
<Import>java.io.PrintStream</Import>
|
||||
</Imports>
|
||||
<Java>Writer</Java>
|
||||
<Java>PrintStream</Java>
|
||||
<Name>System.IO.TextWriter</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -27,7 +27,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.write(${arg} + System.getProperty("line.separator"))</Java>
|
||||
<Java>${this:16}.println(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
@ -39,7 +39,7 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.write(${arg})</Java>
|
||||
<Java>${this:16}.print(${arg})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
@ -53,39 +53,17 @@
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}), ${arg})</Java>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt})${,*]1})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
</Params>
|
||||
<ParamArray>
|
||||
<Type>System.Object[]</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Write</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}), ${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</ParamArray>
|
||||
<Name>Write</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
@ -112,39 +90,17 @@
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\n", ${arg})</Java>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\n"${,*]1})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
</Params>
|
||||
<ParamArray>
|
||||
<Type>System.Object[]</Type>
|
||||
<Name>arg</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>WriteLine</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.StringSupport</Import>
|
||||
</Imports>
|
||||
<Java>System.out.printf(StringSupport.CSFmtStrToJFmtStr(${fmt}) + "\n", ${arg1}, ${arg2})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.String</Type>
|
||||
<Name>fmt</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg1</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>arg2</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
</ParamArray>
|
||||
<Name>WriteLine</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
@ -157,4 +113,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>dsFue9xlLDLccMbDb2dtUrS97RY=</DigestValue></Reference></SignedInfo><SignatureValue>N1OK+0bBkFWINKQ84DHpi9gAabywSGfq+xbRjPnv7tDAnN5tcw0+LT29u+errIy6D78Ca7phcKbaYD/o6Rz/RqQWaq7LIWLkVb8Vp0t3UdWazSiOZG8xUUgLlHDvBFbYzOKjmcfWshANIme9zaA99hGxiSfz4p/pP5egntF2UYk=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>int</Java>
|
||||
<Java>short</Java>
|
||||
<BoxedJava>Short</BoxedJava>
|
||||
<Name>System.Int16</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -56,6 +57,14 @@
|
||||
<Get>Short.MAX_VALUE</Get>
|
||||
<Set>${this:16}.setMaxValue(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this}</Java>
|
||||
<Type>System.Int16</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
<Set>${this:16}.setValue(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
@ -71,4 +80,4 @@
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>RpEteKGIPrPawPr4xVjPHqjFTyI=</DigestValue></Reference></SignedInfo><SignatureValue>Xr3BSO4oUAZ6b2X5yNPrmnni5YHGkJk2WIb45bbZm/BbC9ftzY9RK82oKp/0Sbf/RLKOXL5nv0MkGzrtvJMdtVHewNc2S6eqK1VGL0exap+WmDn/2KAZ3jX7uOUS/RCXeEarQ+nimCvlw3nyug1FbjC9Af1jW1D73+3/j/oxyS8=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>int</Java>
|
||||
<BoxedJava>Integer</BoxedJava>
|
||||
<Name>System.Int32</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -17,7 +18,10 @@
|
||||
<Type>System.IComparable</Type>
|
||||
<Type>System.IFormattable</Type>
|
||||
<Type>System.IConvertible</Type>
|
||||
<!--<Type>System.Int64</Type> (how to treat ints as longs when necessary)-->
|
||||
<Type>System.Int64</Type> <!-- implicit cast-->
|
||||
<Type>System.Double</Type> <!-- implicit cast-->
|
||||
<Type>System.Single</Type> <!-- implicit cast-->
|
||||
<Type>System.Decimal</Type> <!-- implicit cast-->
|
||||
</Inherits>
|
||||
<Methods>
|
||||
<Method>
|
||||
@ -89,12 +93,29 @@
|
||||
<Get>Integer.MAX_VALUE</Get>
|
||||
<Set>${this:16}.setMaxValue(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this}</Java>
|
||||
<Type>System.Int32</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
<Set>${this:16}.setValue(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
<Casts>
|
||||
<!--
|
||||
<Cast>
|
||||
<Imports />
|
||||
<Java>((Number)${expr}).intValue()</Java>
|
||||
<From>System.Object</From>
|
||||
<To>System.Int32</To>
|
||||
</Cast>
|
||||
-->
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>U7pwY3jlpV92Mj9uCvADW7uPaS8=</DigestValue></Reference></SignedInfo><SignatureValue>R2oeJFhJ4hTwbI1qNZBUbVnUAgynOWNZbslF4qrBDrmLCW5V7/C3j+/wl686Y976A5jAEuU24PDPN8EpW7hJlkrl/H0qTr2WauKrOzYvUQbmoDFvb5iDOFiACl+zPr7kU8iVL9owVYn6GGowQsRI/tz7+cbWAx0sokREdqyPMsg=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -7,9 +7,10 @@
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Class has_boxed_rep="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports />
|
||||
<Java>long</Java>
|
||||
<BoxedJava>Long</BoxedJava>
|
||||
<Name>System.Int64</Name>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
@ -63,12 +64,29 @@
|
||||
<Get>Long.MAX_VALUE</Get>
|
||||
<Set>${this:16}.setMaxValue(${value})</Set>
|
||||
</Property>
|
||||
<Property>
|
||||
<Imports />
|
||||
<Java>${this}</Java>
|
||||
<Type>System.Int64</Type>
|
||||
<Name>Value</Name>
|
||||
<Get>${this}</Get>
|
||||
<Set>${this:16}.setValue(${value})</Set>
|
||||
</Property>
|
||||
</Properties>
|
||||
<Events />
|
||||
<Indexers />
|
||||
<Constructors />
|
||||
<Fields />
|
||||
<Casts />
|
||||
<Casts>
|
||||
<!--
|
||||
<Cast>
|
||||
<Imports />
|
||||
<Java>((Number)${expr}).longValue()</Java>
|
||||
<From>System.Object</From>
|
||||
<To>System.Int64</To>
|
||||
</Cast>
|
||||
-->
|
||||
</Casts>
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>NssXoLfarCvqBYY8oMGRJJBWA68=</DigestValue></Reference></SignedInfo><SignatureValue>fUutGmrr/MzELPTIwuyXDpAxTb/fHV7OQJ/qSoGmTinna/nBzV9200GnSxcgz1fI6gL3t0vQ3MH0CRo/QcPmxi6k9h9x+rkKjgbrj8jwDl9T00nSCinOjh0mhMUkXash0FC2Qs7QXQhcJGTG9VJOJiF5DIm4Hwccr2FrAdgkIls=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -46,4 +46,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>Leq87l4mvDIXCO9GBoVObjKAjHE=</DigestValue></Reference></SignedInfo><SignatureValue>P4VblXRWnzh7rnJBACZ+qnTDIrnENVqpKCeGdyOHrEnzKBKQwlPU4h6brxyoEAZrlE9PCex9TtGdxcdBQrKWtnyCq7HXo1iJ9jbWKSEweWM/U8rKdQ2b9501Tz6hvXwSKzTu2kt+jwBjfKvyBmA2SBUMdqVFxijWQnL8AquzPb8=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
@ -77,4 +77,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>1eHYF4d6Kna8vr1gxf+yy5FFQns=</DigestValue></Reference></SignedInfo><SignatureValue>MfkaqWomg11FZaQJLaWTxUGjUQzTPcDnBPuF2q4PCyjlnigDr4B2+VT7qyRz+8jt4GDVihUil6WFh8XJkqbGITNgIEtmclayJvQIp+r0Tlmz2UQhfXRVAPpsvBf5S75NQmyT/+ZuPs1UyRuT9ts5GOhlhNNAHy/S0DVRWzqalOc=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
83
CS2JLibrary/NetFramework/System/LCC/EventHandler'1.xml
Normal file
83
CS2JLibrary/NetFramework/System/LCC/EventHandler'1.xml
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Delegate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.EventHandler</Import>
|
||||
</Imports>
|
||||
<Java>EventHandler*[${TEventArgs}]*</Java>
|
||||
<Name>System.EventHandler</Name>
|
||||
<TypeParams>
|
||||
<Name>TEventArgs</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Methods>
|
||||
<Method static="true">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.__MultiEventHandler</Import>
|
||||
</Imports>
|
||||
<Java>__MultiEventHandler.combine(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.EventHandler*[TEventArgs]*</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.EventHandler*[TEventArgs]*</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Combine</Name>
|
||||
<TypeParams>
|
||||
<Name>TEventArgs</Name>
|
||||
</TypeParams>
|
||||
<Return>System.EventHandler*[TEventArgs]*</Return>
|
||||
</Method>
|
||||
<Method static="true">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.__MultiEventHandler</Import>
|
||||
</Imports>
|
||||
<Java>__MultiEventHandler.remove(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.EventHandler*[TEventArgs]*</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.EventHandler*[TEventArgs]*</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<TypeParams>
|
||||
<Name>TEventArgs</Name>
|
||||
</TypeParams>
|
||||
<Return>System.EventHandler*[TEventArgs]*</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Invoke>
|
||||
<Java>${this:16}.invoke(${sender}, ${e})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Object</Type>
|
||||
<Name>sender</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>TEventArgs</Type>
|
||||
<Name>e</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Invoke</Name>
|
||||
<TypeParams />
|
||||
<Return>System.Void</Return>
|
||||
</Invoke>
|
||||
|
||||
</Delegate>
|
30
CS2JLibrary/NetFramework/System/LCC/IDisposable.xml
Normal file
30
CS2JLibrary/NetFramework/System/LCC/IDisposable.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Interface variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.IDisposable</Import>
|
||||
</Imports>
|
||||
<Java>IDisposable</Java>
|
||||
<Name>System.IDisposable</Name>
|
||||
<Uses />
|
||||
<Inherits> <Type>System.Object</Type> </Inherits>
|
||||
<Methods>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>${this:16}.close()</Java>
|
||||
<Params />
|
||||
<Name>Dispose</Name>
|
||||
<Return>System.Void</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Properties />
|
||||
<Events />
|
||||
<Indexers />
|
||||
</Interface>
|
78
CS2JLibrary/NetFramework/System/LCC/Predicate'1.xml
Normal file
78
CS2JLibrary/NetFramework/System/LCC/Predicate'1.xml
Normal file
@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
|
||||
This file is
|
||||
|
||||
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
||||
|
||||
-->
|
||||
<Delegate variant="LCC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.Predicate</Import>
|
||||
</Imports>
|
||||
<Java>Predicate*[${T}]*</Java>
|
||||
<Name>System.Predicate</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Uses />
|
||||
<Inherits>
|
||||
<Type>System.Object</Type>
|
||||
</Inherits>
|
||||
<Methods>
|
||||
<Method static="true">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.__MultiPredicate</Import>
|
||||
</Imports>
|
||||
<Java>__MultiPredicate.combine(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Predicate*[T]*</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Predicate*[T]*</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Combine</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Return>System.Predicate*[T]*</Return>
|
||||
</Method>
|
||||
<Method static="true">
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.LCC.__MultiPredicate</Import>
|
||||
</Imports>
|
||||
<Java>__MultiPredicate.remove(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Predicate*[T]*</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Predicate*[T]*</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Remove</Name>
|
||||
<TypeParams>
|
||||
<Name>T</Name>
|
||||
</TypeParams>
|
||||
<Return>System.Predicate*[T]*</Return>
|
||||
</Method>
|
||||
</Methods>
|
||||
<Invoke>
|
||||
<Java>${this:16}.invoke(${a})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>T</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Invoke</Name>
|
||||
<TypeParams />
|
||||
<Return>System.Boolean</Return>
|
||||
</Invoke>
|
||||
</Delegate>
|
@ -142,6 +142,22 @@
|
||||
<Name>Max</Name>
|
||||
<Return>System.Number</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>Math.pow(${a},${b})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Double</Type>
|
||||
<Name>a</Name>
|
||||
</Param>
|
||||
<Param>
|
||||
<Type>System.Double</Type>
|
||||
<Name>b</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Pow</Name>
|
||||
<Return>System.Double</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>Math.round(${d})</Java>
|
||||
@ -168,7 +184,21 @@
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>(Math.round(${d}*Math.pow(10,${decimals})) / Math.pow(10,${decimals}))</Java>
|
||||
<Java>Math.round(${s})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Single</Type>
|
||||
<Name>s</Name>
|
||||
</Param>
|
||||
</Params>
|
||||
<Name>Round</Name>
|
||||
<Return>System.Single</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.MathSupport</Import>
|
||||
</Imports>
|
||||
<Java>MathSupport.round(${d},${decimals})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Decimal</Type>
|
||||
@ -183,8 +213,10 @@
|
||||
<Return>System.Decimal</Return>
|
||||
</Method>
|
||||
<Method>
|
||||
<Imports />
|
||||
<Java>(Math.round(${d}*Math.pow(10,${decimals})) / Math.pow(10,${decimals}))</Java>
|
||||
<Imports>
|
||||
<Import>CS2JNet.System.MathSupport</Import>
|
||||
</Imports>
|
||||
<Java>MathSupport.round(${d},${decimals})</Java>
|
||||
<Params>
|
||||
<Param>
|
||||
<Type>System.Double</Type>
|
||||
@ -207,4 +239,4 @@
|
||||
<Casts />
|
||||
<UnaryOps />
|
||||
<BinaryOps />
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>8s2px9UdoU+OkQKw4/u0qml5kPo=</DigestValue></Reference></SignedInfo><SignatureValue>EdHf91QspfIG+11AhuL3Gg46nicQCxDmRlC0EOQ3Lv6M9rgj33ruNhz00j51GUH8j8m8MDPurUBK0HolEwO2AwBXdxfCGjU8P9w2eHBpgi4Y/V/KLwCPYcrqZTP3186GGl6pWOGw1KGCd3zMt6lIVFIZZ8zpulidNU8Cd2AUaNQ=</SignatureValue></Signature></Class>
|
||||
</Class>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user