<?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 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>Number</Java> <Name>System.Number</Name> <Uses /> <Inherits> <Type>System.Object</Type> </Inherits> <Properties> <Property> <Imports /> <Java>${this} != null</Java> <Type>System.Boolean</Type> <Name>HasValue</Name> <Get>${this} != null</Get> <Set>${this:16}.setHasValue(${value})</Set> </Property> </Properties> <Methods> <Method> <Imports> <Import>java.text.NumberFormat</Import> </Imports> <Java>NumberFormat.getInstance(${provider}).format(${this})</Java> <Params> <Param> <Type>System.Globalization.CultureInfo</Type> <Name>provider</Name> </Param> </Params> <Name>ToString</Name> <Return>System.String</Return> </Method> <Method> <Imports> <Import>CS2JNet.System.NumberSupport</Import> </Imports> <Java>NumberSupport.format(${this}, ${format})</Java> <Params> <Param> <Type>System.String</Type> <Name>format</Name> </Param> </Params> <Name>ToString</Name> <Return>System.String</Return> </Method> <Method> <Java>${value} == ${this} ? 0 : (${value} > ${this} ? 1 : -1)</Java> <Params> <Param> <Type>System.Number</Type> <Name>value</Name> </Param> </Params> <Name>CompareTo</Name> <Return>System.Int32</Return> </Method> </Methods> <Properties /> <Events /> <Indexers /> <Constructors /> <Fields /> <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>baj5Z8pab7ivOkC9NG4mn0p5jnE=</DigestValue></Reference></SignedInfo><SignatureValue>hnQnxLR8Eg1eBhdKqjbTeSR6C5nyrdEx3rWJj3ymJ/uiD4hx58ZQAxA7yBMXW9Bs3l55lfZ1rlChWadSSncr430x0qA4MMRVFIklb9DA9cnDbi37XIV+8eAgkcE/0xKBJAAGNA5YC2OVVYC2pZURDpzHgbOCfs1ZqulFxzDxxEY=</SignatureValue></Signature></Class>