Пример #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));
 }
Пример #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));
 }
Пример #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);