Ejemplo n.º 1
0
 /// <summary>
 ///     If not overridden, determines whether the two specified paths are equal based on the
 ///     <see cref="StoragePath.Equals(StoragePath?)"/> method.
 /// </summary>
 /// <param name="fullPath1">
 ///     A fully resolved <see cref="StoragePath"/> without trailing directory separators which
 ///     should be compared with <paramref name="fullPath2"/>.
 /// </param>
 /// <param name="fullPath2">
 ///     A fully resolved <see cref="StoragePath"/> without trailing directory separators which
 ///     should be compared with <paramref name="fullPath1"/>.
 /// </param>
 /// <returns>
 ///     The result of calling <see cref="StoragePath.Equals(StoragePath?)"/> on the two
 ///     specified paths.
 /// </returns>
 protected virtual bool EqualsCore(StoragePath fullPath1, StoragePath fullPath2)
 {
     _ = fullPath1 ?? throw new ArgumentNullException(nameof(fullPath1));
     _ = fullPath2 ?? throw new ArgumentNullException(nameof(fullPath2));
     return(fullPath1.Equals(fullPath2));
 }