src/Shared/EntityFramework/Infrastructure/MappingViews/DefaultDbMappingViewCacheFactory.cs
// <summary>
// Determines whether the specified object is equal to the current object.
// </summary>
// <param name="obj">An object to compare with the current object.</param>
// <returns>
// true if the specified object is an instance of DefaultDbMappingViewCacheFactory
// and the associated cache type is the same, false otherwise.
// </returns>
Determines whether the specified object is equal to the current object.
Determines whether the specified object is equal to the current object .
public override bool Equals(object obj)
        {
            var factory = obj as DefaultDbMappingViewCacheFactory;
            return factory != null && ReferenceEquals(factory._cacheType, _cacheType);
        }
public override bool Equals ( object obj ) { var factory = obj as DefaultDbMappingViewCacheFactory ; return factory != null && ReferenceEquals ( factory . _cacheType , _cacheType ) ; }
Determines whether the specified object is equal to the current object.
Determines whether the specified object is equal to the current object .
true if the specified object is an instance of DefaultDbMappingViewCacheFactory
and the associated cache type is the same, false otherwise.
true if the specified object is an instance of DefaultDbMappingViewCacheFactory and the associated cache type is the same false otherwise .
obj
object
An object to compare with the current object.
An object to compare with the current object .