Created
February 10, 2012 20:37
-
-
Save nanki/f6ebf8026fa77915f4f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
java.awt.Color -> System.Drawing.Color | |
new Color(int,int,int) -> System.Drawing.Color.FromArgb(255, @1, @2, @3) | |
.black -> .BLACK | |
.setEnabled(boolean) -> .Enabled = ... | |
--> | |
<mapping> | |
<packages> | |
<package name="java.awt"> | |
<class name="Color"> | |
<target packageName="System.Drawing" name="Color" /> | |
<constructor signature="(int,int,int)"> | |
<target> | |
<format> | |
<![CDATA[Color.FromArgb(255, @1, @2, @3)]]> | |
</format> | |
</target> | |
</constructor> | |
<field name="black"><target name="Black" /></field> | |
<method name="setEnabled" signature="(boolean)"> | |
<target> | |
<format> | |
<![CDATA[@0.Enabled = @1]]> | |
</format> | |
</target> | |
</method> | |
</class> | |
</package> | |
</packages> | |
</mapping> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment