Exemplo n.º 1
0
 /// <summary>
 /// Generates a hashcode for caching.
 /// </summary>
 /// <param name="type">The type of the data entity.</param>
 /// <returns>The generated hashcode.</returns>
 private static int GenerateHashCode(Type type)
 {
     return(TypeExtension.GenerateHashCode(type));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Generates a hashcode for caching.
 /// </summary>
 /// <param name="entityType">The type of the data entity.</param>
 /// <param name="propertyInfo">The instance of <see cref="PropertyInfo"/>.</param>
 /// <returns>The generated hashcode.</returns>
 private static int GenerateHashCode(Type entityType,
                                     PropertyInfo propertyInfo)
 {
     return(TypeExtension.GenerateHashCode(entityType, propertyInfo));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Generates a hashcode for caching.
 /// </summary>
 /// <param name="type">The type of the data entity.</param>
 /// <returns>The generated hashcode.</returns>
 private static int GenerateHashCode(Type type) =>
 TypeExtension.GenerateHashCode(type);