Commit c840cc2e authored by Marc Gravell's avatar Marc Gravell

Merge pull request #204 from ofirgeller/patch-1

Spell Checking
parents 8df328f8 7aec5c0d
...@@ -33,7 +33,7 @@ internal sealed class AssemblyNeutralAttribute : Attribute { } ...@@ -33,7 +33,7 @@ internal sealed class AssemblyNeutralAttribute : Attribute { }
public enum CommandFlags public enum CommandFlags
{ {
/// <summary> /// <summary>
/// No additonal flags /// No additional flags
/// </summary> /// </summary>
None = 0, None = 0,
/// <summary> /// <summary>
...@@ -263,7 +263,7 @@ public interface IParameterLookup : IDynamicParameters ...@@ -263,7 +263,7 @@ public interface IParameterLookup : IDynamicParameters
} }
/// <summary> /// <summary>
/// Extends IDynamicParameters with facitilies for executing callbacks after commands have completed /// Extends IDynamicParameters with facilities for executing callbacks after commands have completed
/// </summary> /// </summary>
public partial interface IParameterCallbacks : IDynamicParameters public partial interface IParameterCallbacks : IDynamicParameters
{ {
...@@ -377,7 +377,7 @@ object ITypeHandler.Parse(Type destinationType, object value) ...@@ -377,7 +377,7 @@ object ITypeHandler.Parse(Type destinationType, object value)
} }
/// <summary> /// <summary>
/// Implement this interface to change default mapping of reader columns to type memebers /// Implement this interface to change default mapping of reader columns to type members
/// </summary> /// </summary>
public interface ITypeMap public interface ITypeMap
{ {
...@@ -394,7 +394,7 @@ public interface ITypeMap ...@@ -394,7 +394,7 @@ public interface ITypeMap
/// ///
/// Parameters will be default values, nulls for reference types and zero'd for value types. /// Parameters will be default values, nulls for reference types and zero'd for value types.
/// ///
/// Use this class to force object creation away from parameterless constructors you dn't control. /// Use this class to force object creation away from parameterless constructors you don't control.
/// </summary> /// </summary>
ConstructorInfo FindExplicitConstructor(); ConstructorInfo FindExplicitConstructor();
...@@ -735,7 +735,7 @@ public static void ResetTypeHandlers() ...@@ -735,7 +735,7 @@ public static void ResetTypeHandlers()
AddTypeHandlerImpl(typeof(DataTable), new DataTableHandler(), true); AddTypeHandlerImpl(typeof(DataTable), new DataTableHandler(), true);
} }
/// <summary> /// <summary>
/// Configire the specified type to be mapped to a given db-type /// Configure the specified type to be mapped to a given db-type
/// </summary> /// </summary>
public static void AddTypeMap(Type type, DbType dbType) public static void AddTypeMap(Type type, DbType dbType)
{ {
...@@ -751,7 +751,7 @@ public static void AddTypeMap(Type type, DbType dbType) ...@@ -751,7 +751,7 @@ public static void AddTypeMap(Type type, DbType dbType)
} }
/// <summary> /// <summary>
/// Configire the specified type to be processed by a custom handler /// Configure the specified type to be processed by a custom handler
/// </summary> /// </summary>
public static void AddTypeHandler(Type type, ITypeHandler handler) public static void AddTypeHandler(Type type, ITypeHandler handler)
{ {
...@@ -759,7 +759,7 @@ public static void AddTypeHandler(Type type, ITypeHandler handler) ...@@ -759,7 +759,7 @@ public static void AddTypeHandler(Type type, ITypeHandler handler)
} }
/// <summary> /// <summary>
/// Configire the specified type to be processed by a custom handler /// Configure the specified type to be processed by a custom handler
/// </summary> /// </summary>
public static void AddTypeHandlerImpl(Type type, ITypeHandler handler, bool clone) public static void AddTypeHandlerImpl(Type type, ITypeHandler handler, bool clone)
{ {
...@@ -808,7 +808,7 @@ public static void AddTypeHandlerImpl(Type type, ITypeHandler handler, bool clon ...@@ -808,7 +808,7 @@ public static void AddTypeHandlerImpl(Type type, ITypeHandler handler, bool clon
} }
/// <summary> /// <summary>
/// Configire the specified type to be processed by a custom handler /// Configure the specified type to be processed by a custom handler
/// </summary> /// </summary>
public static void AddTypeHandler<T>(TypeHandler<T> handler) public static void AddTypeHandler<T>(TypeHandler<T> handler)
{ {
...@@ -913,7 +913,7 @@ internal static DbType LookupDbType(Type type, string name, bool demand, out ITy ...@@ -913,7 +913,7 @@ internal static DbType LookupDbType(Type type, string name, bool demand, out ITy
} }
/// <summary> /// <summary>
/// Identity of a cached query in Dapper, used for extensability /// Identity of a cached query in Dapper, used for extensibility
/// </summary> /// </summary>
public partial class Identity : IEquatable<Identity> public partial class Identity : IEquatable<Identity>
{ {
...@@ -1600,8 +1600,8 @@ private static IEnumerable<T> QueryImpl<T>(this IDbConnection cnn, CommandDefini ...@@ -1600,8 +1600,8 @@ private static IEnumerable<T> QueryImpl<T>(this IDbConnection cnn, CommandDefini
/// <summary> /// <summary>
/// Maps a query to objects /// Maps a query to objects
/// </summary> /// </summary>
/// <typeparam name="TFirst">The first type in the recordset</typeparam> /// <typeparam name="TFirst">The first type in the record set</typeparam>
/// <typeparam name="TSecond">The second type in the recordset</typeparam> /// <typeparam name="TSecond">The second type in the record set</typeparam>
/// <typeparam name="TReturn">The return type</typeparam> /// <typeparam name="TReturn">The return type</typeparam>
/// <param name="cnn"></param> /// <param name="cnn"></param>
/// <param name="sql"></param> /// <param name="sql"></param>
...@@ -1768,7 +1768,7 @@ private static IEnumerable<T> QueryImpl<T>(this IDbConnection cnn, CommandDefini ...@@ -1768,7 +1768,7 @@ private static IEnumerable<T> QueryImpl<T>(this IDbConnection cnn, CommandDefini
/// <typeparam name="TReturn">The return type</typeparam> /// <typeparam name="TReturn">The return type</typeparam>
/// <param name="cnn"></param> /// <param name="cnn"></param>
/// <param name="sql"></param> /// <param name="sql"></param>
/// <param name="types">array of types in the recordset</param> /// <param name="types">array of types in the record set</param>
/// <param name="map"></param> /// <param name="map"></param>
/// <param name="param"></param> /// <param name="param"></param>
/// <param name="transaction"></param> /// <param name="transaction"></param>
...@@ -3246,7 +3246,7 @@ internal static IList<LiteralToken> GetLiteralTokens(string sql) ...@@ -3246,7 +3246,7 @@ internal static IList<LiteralToken> GetLiteralTokens(string sql)
case TypeCode.Single: case TypeCode.Single:
case TypeCode.Double: case TypeCode.Double:
case TypeCode.Decimal: case TypeCode.Decimal:
// neeed to stloc, ldloca, call // need to stloc, ldloca, call
// re-use existing locals (both the last known, and via a dictionary) // re-use existing locals (both the last known, and via a dictionary)
var convert = GetToString(typeCode); var convert = GetToString(typeCode);
if (local == null || local.LocalType != propType) if (local == null || local.LocalType != propType)
...@@ -4080,7 +4080,7 @@ private static void EmitInt32(ILGenerator il, int value) ...@@ -4080,7 +4080,7 @@ private static void EmitInt32(ILGenerator il, int value)
/// <summary> /// <summary>
/// How should connection strings be compared for equivalence? Defaults to StringComparer.Ordinal. /// How should connection strings be compared for equivalence? Defaults to StringComparer.Ordinal.
/// Providing a custom implementation can be useful for allowing multi-tenancy databases with identical /// Providing a custom implementation can be useful for allowing multi-tenancy databases with identical
/// schema to share startegies. Note that usual equivalence rules apply: any equivalent connection strings /// schema to share strategies. Note that usual equivalence rules apply: any equivalent connection strings
/// <b>MUST</b> yield the same hash-code. /// <b>MUST</b> yield the same hash-code.
/// </summary> /// </summary>
public static IEqualityComparer<string> ConnectionStringComparer public static IEqualityComparer<string> ConnectionStringComparer
...@@ -4200,7 +4200,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered) ...@@ -4200,7 +4200,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered)
#if CSHARP30 #if CSHARP30
/// <summary> /// <summary>
/// Read multiple objects from a single recordset on the grid /// Read multiple objects from a single record set on the grid
/// </summary> /// </summary>
public IEnumerable<TReturn> Read<TFirst, TSecond, TReturn>(Func<TFirst, TSecond, TReturn> func, string splitOn) public IEnumerable<TReturn> Read<TFirst, TSecond, TReturn>(Func<TFirst, TSecond, TReturn> func, string splitOn)
{ {
...@@ -4208,7 +4208,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered) ...@@ -4208,7 +4208,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered)
} }
#endif #endif
/// <summary> /// <summary>
/// Read multiple objects from a single recordset on the grid /// Read multiple objects from a single record set on the grid
/// </summary> /// </summary>
#if CSHARP30 #if CSHARP30
public IEnumerable<TReturn> Read<TFirst, TSecond, TReturn>(Func<TFirst, TSecond, TReturn> func, string splitOn, bool buffered) public IEnumerable<TReturn> Read<TFirst, TSecond, TReturn>(Func<TFirst, TSecond, TReturn> func, string splitOn, bool buffered)
...@@ -4222,7 +4222,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered) ...@@ -4222,7 +4222,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered)
#if CSHARP30 #if CSHARP30
/// <summary> /// <summary>
/// Read multiple objects from a single recordset on the grid /// Read multiple objects from a single record set on the grid
/// </summary> /// </summary>
public IEnumerable<TReturn> Read<TFirst, TSecond, TThird, TReturn>(Func<TFirst, TSecond, TThird, TReturn> func, string splitOn) public IEnumerable<TReturn> Read<TFirst, TSecond, TThird, TReturn>(Func<TFirst, TSecond, TThird, TReturn> func, string splitOn)
{ {
...@@ -4230,7 +4230,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered) ...@@ -4230,7 +4230,7 @@ private IEnumerable<T> ReadImpl<T>(Type type, bool buffered)
} }
#endif #endif
/// <summary> /// <summary>
/// Read multiple objects from a single recordset on the grid /// Read multiple objects from a single record set on the grid
/// </summary> /// </summary>
#if CSHARP30 #if CSHARP30
public IEnumerable<TReturn> Read<TFirst, TSecond, TThird, TReturn>(Func<TFirst, TSecond, TThird, TReturn> func, string splitOn, bool buffered) public IEnumerable<TReturn> Read<TFirst, TSecond, TThird, TReturn>(Func<TFirst, TSecond, TThird, TReturn> func, string splitOn, bool buffered)
...@@ -5056,7 +5056,7 @@ private static readonly FeatureSupport ...@@ -5056,7 +5056,7 @@ private static readonly FeatureSupport
postgres = new FeatureSupport(true); postgres = new FeatureSupport(true);
/// <summary> /// <summary>
/// Gets the featureset based on the passed connection /// Gets the feature set based on the passed connection
/// </summary> /// </summary>
public static FeatureSupport Get(IDbConnection connection) public static FeatureSupport Get(IDbConnection connection)
{ {
...@@ -5075,7 +5075,7 @@ private FeatureSupport(bool arrays) ...@@ -5075,7 +5075,7 @@ private FeatureSupport(bool arrays)
} }
/// <summary> /// <summary>
/// Represents simple memeber map for one of target parameter or property or field to source DataReader column /// Represents simple member map for one of target parameter or property or field to source DataReader column
/// </summary> /// </summary>
sealed partial class SimpleMemberMap : SqlMapper.IMemberMap sealed partial class SimpleMemberMap : SqlMapper.IMemberMap
{ {
...@@ -5392,7 +5392,7 @@ public ConstructorInfo FindExplicitConstructor() ...@@ -5392,7 +5392,7 @@ public ConstructorInfo FindExplicitConstructor()
} }
/// <summary> /// <summary>
/// Not impelmeneted as far as default constructor used for all cases /// Not implemented as far as default constructor used for all cases
/// </summary> /// </summary>
/// <param name="constructor"></param> /// <param name="constructor"></param>
/// <param name="columnName"></param> /// <param name="columnName"></param>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment