From: Choy R. <ch...@us...> - 2005-02-12 09:33:04
|
Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28145/DotNetMock.Framework/Data Modified Files: MockDataSet.cs Log Message: Eliminate more warnings about missing XML comments ... Index: MockDataSet.cs =================================================================== RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock.Framework/Data/MockDataSet.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MockDataSet.cs 16 Jul 2004 16:03:29 -0000 1.3 --- MockDataSet.cs 12 Feb 2005 09:32:55 -0000 1.4 *************** *** 10,19 **** --- 10,36 ---- public class MockDataSet : DataSet, IMockObject { + /// <summary> + /// Name of this mock <see cref="DataSet"/>. + /// Defaults to 'MockDataSet'. + /// </summary> protected string name = ""; + /// <summary> + /// Stores whether this object has been verified yet. + /// Defaults to false. + /// </summary> protected bool verified = false; + /// <summary> + /// Creates a mock <see cref="DataSet"/>. + /// </summary> public MockDataSet() { this.name = "MockDataSet"; } + /// <summary> + /// Sets the rows that will be returned by the first + /// <see cref="DataTable"/> in this <see cref="DataSet"/>. + /// </summary> + /// <param name="data">n x m array of data representing + /// a <see cref="DataTable"/> in this <see cref="DataSet"/></param> public void SetRows( object[,] data ) { *************** *** 51,59 **** #region Implementation of IMockObject public void NotImplemented(string methodName) { throw new NotImplementedException( methodName + " is currently not implemented." ); } ! public string MockName { --- 68,82 ---- #region Implementation of IMockObject + /// <summary> + /// <see cref="IMockObject.NotImplemented"/> + /// </summary> + /// <param name="methodName">name of method not implemented</param> public void NotImplemented(string methodName) { throw new NotImplementedException( methodName + " is currently not implemented." ); } ! /// <summary> ! /// Name of this mock object. ! /// </summary> public string MockName { *************** *** 67,70 **** --- 90,97 ---- } } + /// <summary> + /// Whether this mock object has been verified. + /// <see cref="Verify"/> + /// </summary> public bool IsVerified { *************** *** 74,77 **** --- 101,107 ---- #region Implementation of IVerifiable + /// <summary> + /// <see cref="IVerifiable.Verify"/> + /// </summary> public void Verify() { |