From: Kevin W. <kev...@us...> - 2005-01-01 03:33:07
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1441 Modified Files: FlushMode.cs ICompositeUserType.cs ICriteria.cs IDatabinder.cs Log Message: fix xml documentation and allow ReSharper to reformat Index: IDatabinder.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/IDatabinder.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IDatabinder.cs 17 Feb 2003 18:16:13 -0000 1.1 --- IDatabinder.cs 1 Jan 2005 03:32:56 -0000 1.2 *************** *** 1,8 **** - using System; using System.Collections; using System.Xml; ! ! namespace NHibernate { /// <summary> /// Provides XML marshalling for classes registered with a <c>SessionFactory</c> --- 1,7 ---- using System.Collections; using System.Xml; ! namespace NHibernate ! { /// <summary> /// Provides XML marshalling for classes registered with a <c>SessionFactory</c> *************** *** 25,30 **** /// </para> /// </remarks> ! public interface IDatabinder { ! /// <summary> /// Add an object to the output document. --- 24,29 ---- /// </para> /// </remarks> ! public interface IDatabinder ! { /// <summary> /// Add an object to the output document. *************** *** 32,36 **** /// <param name="obj">A transient or persistent instance</param> /// <returns>Databinder</returns> ! IDatabinder Bind(object obj); /// <summary> --- 31,35 ---- /// <param name="obj">A transient or persistent instance</param> /// <returns>Databinder</returns> ! IDatabinder Bind( object obj ); /// <summary> *************** *** 39,43 **** /// <param name="objs">A collection of transient or persistent instance</param> /// <returns>Databinder</returns> ! IDatabinder BindAll(ICollection objs); /// <summary> --- 38,42 ---- /// <param name="objs">A collection of transient or persistent instance</param> /// <returns>Databinder</returns> ! IDatabinder BindAll( ICollection objs ); /// <summary> *************** *** 74,76 **** bool InitializeLazy { get; set; } } ! } --- 73,75 ---- bool InitializeLazy { get; set; } } ! } \ No newline at end of file Index: ICompositeUserType.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/ICompositeUserType.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ICompositeUserType.cs 22 Apr 2003 14:09:28 -0000 1.1 --- ICompositeUserType.cs 1 Jan 2005 03:32:56 -0000 1.2 *************** *** 1,5 **** using System; using System.Data; - using NHibernate.Engine; using NHibernate.Type; --- 1,4 ---- *************** *** 42,46 **** /// <param name="property"></param> /// <returns>the property value</returns> ! object GetPropertyValue(object component, int property); /// <summary> --- 41,45 ---- /// <param name="property"></param> /// <returns>the property value</returns> ! object GetPropertyValue( object component, int property ); /// <summary> *************** *** 50,58 **** /// <param name="property"></param> /// <param name="value">the value to set</param> ! void SetPropertyValue(object component, int property, object value); /// <summary> ! /// The class returned by NullSafeGet(). ! /// </summary> System.Type ReturnedClass { get; } --- 49,57 ---- /// <param name="property"></param> /// <param name="value">the value to set</param> ! void SetPropertyValue( object component, int property, object value ); /// <summary> ! /// The class returned by NullSafeGet(). ! /// </summary> System.Type ReturnedClass { get; } *************** *** 64,68 **** /// <param name="y"></param> /// <returns></returns> ! bool Equals(Object x, Object y); /// <summary> --- 63,67 ---- /// <param name="y"></param> /// <returns></returns> ! bool Equals( Object x, Object y ); /// <summary> *************** *** 75,79 **** /// <param name="owner">the containing entity</param> /// <returns></returns> ! object NullSafeGet(IDataReader dr, string[] names, ISessionImplementor session, object owner); /// <summary> --- 74,78 ---- /// <param name="owner">the containing entity</param> /// <returns></returns> ! object NullSafeGet( IDataReader dr, string[] names, ISessionImplementor session, object owner ); /// <summary> *************** *** 86,90 **** /// <param name="index"></param> /// <param name="session"></param> ! void NullSafeSet(IDbCommand cmd, object value, int index, ISessionImplementor session); /// <summary> --- 85,89 ---- /// <param name="index"></param> /// <param name="session"></param> ! void NullSafeSet( IDbCommand cmd, object value, int index, ISessionImplementor session ); /// <summary> *************** *** 93,97 **** /// <param name="value">generally a collection element or entity field</param> /// <returns></returns> ! object DeepCopy(object value); /// <summary> --- 92,96 ---- /// <param name="value">generally a collection element or entity field</param> /// <returns></returns> ! object DeepCopy( object value ); /// <summary> *************** *** 108,112 **** /// <param name="session"></param> /// <returns></returns> ! object Disassemble(object value, ISessionImplementor session); /// <summary> --- 107,111 ---- /// <param name="session"></param> /// <returns></returns> ! object Disassemble( object value, ISessionImplementor session ); /// <summary> *************** *** 118,122 **** /// <param name="owner"></param> /// <returns></returns> ! object Assemble(object cached, ISessionImplementor session, object owner); } } \ No newline at end of file --- 117,121 ---- /// <param name="owner"></param> /// <returns></returns> ! object Assemble( object cached, ISessionImplementor session, object owner ); } } \ No newline at end of file Index: ICriteria.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/ICriteria.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ICriteria.cs 2 Sep 2004 04:00:42 -0000 1.6 --- ICriteria.cs 1 Jan 2005 03:32:56 -0000 1.7 *************** *** 1,9 **** - using System; using System.Collections; - using NHibernate.Engine; using NHibernate.Expression; ! namespace NHibernate { ///<summary> --- 1,7 ---- using System.Collections; using NHibernate.Engine; using NHibernate.Expression; ! namespace NHibernate { ///<summary> *************** *** 31,46 **** ///This is an experimental API ///</summary> ! ! public interface ICriteria { /// <summary> /// Set a limit upon the number of objects to be retrieved /// </summary> ! ICriteria SetMaxResults(int maxResults); /// <summary> /// Set the first result to be retrieved /// </summary> ! ICriteria SetFirstResult(int firstResult); /// <summary> --- 29,45 ---- ///This is an experimental API ///</summary> ! public interface ICriteria { /// <summary> /// Set a limit upon the number of objects to be retrieved /// </summary> ! /// <param name="maxResults"></param> ! ICriteria SetMaxResults( int maxResults ); /// <summary> /// Set the first result to be retrieved /// </summary> ! /// <param name="firstResult"></param> ! ICriteria SetFirstResult( int firstResult ); /// <summary> *************** *** 49,53 **** /// <param name="timeout"></param> /// <returns></returns> ! ICriteria SetTimeout(int timeout); /// <summary> --- 48,52 ---- /// <param name="timeout"></param> /// <returns></returns> ! ICriteria SetTimeout( int timeout ); /// <summary> *************** *** 61,70 **** /// <param name="expression"></param> /// <returns></returns> ! ICriteria Add(Expression.Expression expression); /// <summary> /// An an Order to the result set /// </summary> ! ICriteria AddOrder(Order order); --- 60,70 ---- /// <param name="expression"></param> /// <returns></returns> ! ICriteria Add( Expression.Expression expression ); /// <summary> /// An an Order to the result set /// </summary> ! /// <param name="order"></param> ! ICriteria AddOrder( Order order ); *************** *** 79,83 **** /// resulting expression. /// </summary> ! Expression.Expression Expression {get;} /// <summary> --- 79,83 ---- /// resulting expression. /// </summary> ! Expression.Expression Expression { get; } /// <summary> *************** *** 87,91 **** /// <returns></returns> IEnumerator IterateExpressions(); ! /// <summary> /// Provides an Enumerator to Iterate through the Order clauses --- 87,91 ---- /// <returns></returns> IEnumerator IterateExpressions(); ! /// <summary> /// Provides an Enumerator to Iterate through the Order clauses *************** *** 94,98 **** /// <returns></returns> IEnumerator IterateOrderings(); ! /// <summary> /// The PersistentClass that is the entry point for the Criteria. --- 94,98 ---- /// <returns></returns> IEnumerator IterateOrderings(); ! /// <summary> /// The PersistentClass that is the entry point for the Criteria. *************** *** 105,109 **** /// <param name="path"></param> /// <returns></returns> ! FetchMode GetFetchMode(string path); /// <summary> --- 105,109 ---- /// <param name="path"></param> /// <returns></returns> ! FetchMode GetFetchMode( string path ); /// <summary> *************** *** 114,118 **** /// <param name="mode">The Fetch mode.</param> /// <returns></returns> ! ICriteria SetFetchMode(string associationPath, FetchMode mode); } } \ No newline at end of file --- 114,118 ---- /// <param name="mode">The Fetch mode.</param> /// <returns></returns> ! ICriteria SetFetchMode( string associationPath, FetchMode mode ); } } \ No newline at end of file Index: FlushMode.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/FlushMode.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FlushMode.cs 9 Aug 2004 03:10:26 -0000 1.3 --- FlushMode.cs 1 Jan 2005 03:32:56 -0000 1.4 *************** *** 1,5 **** using System; ! namespace NHibernate { /// <summary> --- 1,5 ---- using System; ! namespace NHibernate { /// <summary> *************** *** 11,15 **** /// </remarks> [Serializable] ! public enum FlushMode { /// <summary> --- 11,15 ---- /// </remarks> [Serializable] ! public enum FlushMode { /// <summary> *************** *** 29,31 **** Auto = 10 } ! } --- 29,31 ---- Auto = 10 } ! } \ No newline at end of file |