From: Kevin W. <kev...@us...> - 2004-12-31 21:56:34
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Property In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4700 Modified Files: IGetter.cs IPropertyAccessor.cs ISetter.cs LowerCaseUnderscoreStrategy.cs Log Message: fixing xml comments and letting ReSharper do reformatting Index: IGetter.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Property/IGetter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IGetter.cs 22 Aug 2004 06:18:54 -0000 1.1 --- IGetter.cs 31 Dec 2004 21:56:23 -0000 1.2 *************** *** 1,3 **** - using System; using System.Reflection; --- 1,2 ---- *************** *** 14,18 **** /// <param name="target"></param> /// <returns></returns> ! object Get(object target); /// <summary> --- 13,17 ---- /// <param name="target"></param> /// <returns></returns> ! object Get( object target ); /// <summary> *************** *** 20,24 **** /// </summary> /// <returns></returns> ! System.Type ReturnType{ get; } /// <summary> --- 19,23 ---- /// </summary> /// <returns></returns> ! System.Type ReturnType { get; } /// <summary> *************** *** 26,30 **** /// </summary> /// <returns></returns> ! string PropertyName { get; } /// <summary> --- 25,29 ---- /// </summary> /// <returns></returns> ! string PropertyName { get; } /// <summary> *************** *** 38,40 **** PropertyInfo Property { get; } } ! } --- 37,39 ---- PropertyInfo Property { get; } } ! } \ No newline at end of file Index: ISetter.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Property/ISetter.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ISetter.cs 22 Aug 2004 06:18:54 -0000 1.1 --- ISetter.cs 31 Dec 2004 21:56:23 -0000 1.2 *************** *** 1,3 **** - using System; using System.Reflection; --- 1,2 ---- *************** *** 16,20 **** /// <exception cref="HibernateException"> /// </exception> ! void Set(object target, object value); /// <summary> --- 15,19 ---- /// <exception cref="HibernateException"> /// </exception> ! void Set( object target, object value ); /// <summary> *************** *** 34,36 **** PropertyInfo Property { get; } } ! } --- 33,35 ---- PropertyInfo Property { get; } } ! } \ No newline at end of file Index: LowerCaseUnderscoreStrategy.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Property/LowerCaseUnderscoreStrategy.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LowerCaseUnderscoreStrategy.cs 23 Oct 2004 15:44:08 -0000 1.1 --- LowerCaseUnderscoreStrategy.cs 31 Dec 2004 21:56:23 -0000 1.2 *************** *** 1,4 **** - using System; - namespace NHibernate.Property { --- 1,2 ---- *************** *** 7,15 **** /// an underscore and the PropertyName is changed to lower case. /// </summary> ! public class LowerCaseUnderscoreStrategy : IFieldNamingStrategy { #region IFieldNamingStrategy Members ! public string GetFieldName(string propertyName) { return "_" + propertyName.ToLower(); --- 5,18 ---- /// an underscore and the PropertyName is changed to lower case. /// </summary> ! public class LowerCaseUnderscoreStrategy : IFieldNamingStrategy { #region IFieldNamingStrategy Members ! /// <summary> ! /// ! /// </summary> ! /// <param name="propertyName"></param> ! /// <returns></returns> ! public string GetFieldName( string propertyName ) { return "_" + propertyName.ToLower(); *************** *** 18,22 **** #endregion } ! } ! ! --- 21,23 ---- #endregion } ! } \ No newline at end of file Index: IPropertyAccessor.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Property/IPropertyAccessor.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IPropertyAccessor.cs 22 Aug 2004 06:18:54 -0000 1.1 --- IPropertyAccessor.cs 31 Dec 2004 21:56:23 -0000 1.2 *************** *** 1,4 **** - using System; - namespace NHibernate.Property { --- 1,2 ---- *************** *** 17,22 **** /// <exception cref="PropertyNotFoundException" > /// </exception> ! IGetter GetGetter(System.Type theClass, string propertyName); ! /// <summary> /// Create a "setter" for the named attribute --- 15,20 ---- /// <exception cref="PropertyNotFoundException" > /// </exception> ! IGetter GetGetter( System.Type theClass, string propertyName ); ! /// <summary> /// Create a "setter" for the named attribute *************** *** 27,31 **** /// <exception cref="PropertyNotFoundException" > /// </exception> ! ISetter GetSetter(System.Type theClass, string propertyName); } ! } --- 25,29 ---- /// <exception cref="PropertyNotFoundException" > /// </exception> ! ISetter GetSetter( System.Type theClass, string propertyName ); } ! } \ No newline at end of file |