From: Donald L M. Jr. <lu...@us...> - 2004-12-06 13:37:07
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16381/src/Nullables/TypeConverters Modified Files: NullableBooleanConverter.cs NullableByteConverter.cs NullableDateTimeConverter.cs NullableDecimalConverter.cs NullableDoubleConverter.cs NullableGuidConverter.cs NullableInt16Converter.cs NullableInt32Converter.cs NullableInt64Converter.cs NullableSingleConverter.cs Log Message: Removed Console.WriteLine()s. It's a poor way to log (was useful during while debugging). Index: NullableGuidConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableGuidConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableGuidConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableGuidConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableDateTimeConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableDateTimeConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableDateTimeConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableDateTimeConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableDecimalConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableDecimalConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableDecimalConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableDecimalConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableSingleConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableSingleConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableSingleConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableSingleConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableBooleanConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableBooleanConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableBooleanConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableBooleanConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableInt64Converter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableInt64Converter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableInt64Converter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableInt64Converter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableInt32Converter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableInt32Converter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableInt32Converter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableInt32Converter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableByteConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableByteConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableByteConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableByteConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableDoubleConverter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableDoubleConverter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableDoubleConverter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableDoubleConverter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- Index: NullableInt16Converter.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/Nullables/TypeConverters/NullableInt16Converter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NullableInt16Converter.cs 12 Nov 2004 22:08:27 -0000 1.1 --- NullableInt16Converter.cs 6 Dec 2004 13:36:58 -0000 1.2 *************** *** 14,18 **** public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { - Console.WriteLine("CanConvertFrom? " + sourceType.ToString()); if (sourceType == typeof(string)) return true; --- 14,17 ---- *************** *** 23,27 **** public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { - Console.WriteLine("CanConvertTo? " + destinationType.ToString()); if (destinationType == typeof(InstanceDescriptor)) return true; --- 22,25 ---- |