Mercurial > pub > Jint1
diff Jint.Runtime/VM/DummyConverter.cs @ 0:e113095f1de0
initial commit, proof of concept
author | cin |
---|---|
date | Wed, 23 Oct 2013 13:24:57 +0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Jint.Runtime/VM/DummyConverter.cs Wed Oct 23 13:24:57 2013 +0400 @@ -0,0 +1,19 @@ +using System; + +namespace Jint.Runtime +{ + public class DummyConverter: IConverter + { + #region IConverter implementation + + public TDst Convert<TSrc, TDst> (TSrc src) + { + return (TDst)(object)src; + } + + #endregion + + + } +} +