Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/Design/ParameterCollection
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20269
Modified Files:
PgParameterCollectionEditor.cs PgParameterConverter.cs
Log Message:
2004-07-22 Carlos Guzman Alvarez <car...@te...>
* USe PascalCase naming for private methods in all classes.
Index: PgParameterConverter.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/Design/ParameterCollection/PgParameterConverter.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PgParameterConverter.cs 9 Feb 2004 14:20:06 -0000 1.2
--- PgParameterConverter.cs 22 Jul 2004 10:58:36 -0000 1.3
***************
*** 27,32 ****
{
internal class PgParameterConverter : TypeConverter
! {
! public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
if (destinationType == typeof(InstanceDescriptor))
--- 27,34 ----
{
internal class PgParameterConverter : TypeConverter
! {
! #region Methods
!
! public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
if (destinationType == typeof(InstanceDescriptor))
***************
*** 69,72 ****
--- 71,76 ----
return base.ConvertTo(context, culture, value, destinationType);
}
+
+ #endregion
}
}
Index: PgParameterCollectionEditor.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/Design/ParameterCollection/PgParameterCollectionEditor.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PgParameterCollectionEditor.cs 9 Feb 2004 14:20:06 -0000 1.2
--- PgParameterCollectionEditor.cs 22 Jul 2004 10:58:36 -0000 1.3
***************
*** 27,34 ****
{
internal class PgParameterCollectionEditor : System.ComponentModel.Design.CollectionEditor
! {
! private PgParameterCollection parameters;
! public PgParameterCollectionEditor(Type type) : base(type)
{
parameters = null;
--- 27,40 ----
{
internal class PgParameterCollectionEditor : System.ComponentModel.Design.CollectionEditor
! {
! #region Fields
!
! private PgParameterCollection parameters;
! #endregion
!
! #region Methods
!
! public PgParameterCollectionEditor(Type type) : base(type)
{
parameters = null;
***************
*** 39,43 ****
PgParameter parameter = (PgParameter)base.CreateInstance(type);
! parameter.ParameterName = this.generateParameterName("Parameter");
return parameter;
--- 45,49 ----
PgParameter parameter = (PgParameter)base.CreateInstance(type);
! parameter.ParameterName = this.GenerateParameterName("Parameter");
return parameter;
***************
*** 50,54 ****
}
! private string generateParameterName(string prefix)
{
string parameterName = String.Empty;
--- 56,64 ----
}
! #endregion
!
! #region Private Methods
!
! private string GenerateParameterName(string prefix)
{
string parameterName = String.Empty;
***************
*** 68,71 ****
--- 78,83 ----
return parameterName;
}
+
+ #endregion
}
}
\ No newline at end of file
|