Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void ToIntPtr() { var converter = ConverterFactory.Create <byte, IntPtr>(); Assert.Equal(ManualConverter.ByteToIntPtr(0), converter(0)); Assert.Equal(ManualConverter.ByteToIntPtr(1), converter(1)); Assert.Equal(ManualConverter.ByteToIntPtr(Byte.MinValue), converter(Byte.MinValue)); Assert.Equal(ManualConverter.ByteToIntPtr(Byte.MaxValue), converter(Byte.MaxValue)); }