Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Typos in Documentation #7484

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Libraries/Nop.Core/Caching/IShortTermCacheManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ public partial interface IShortTermCacheManager : ICacheKeyService
/// Get a cached item. If it's not in the cache yet, then load and cache it
/// </summary>
/// <typeparam name="T">Type of cached item</typeparam>
/// /// <param name="acquire">Function to load item if it's not in the cache yet</param>
/// <param name="acquire">Function to load item if it's not in the cache yet</param>
/// <param name="cacheKey">Initial cache key</param>
/// <param name="cacheKeyParameters">Parameters to create cache key</param>
/// <returns>
/// A task that represents the asynchronous operation
/// The task result contains the cached value associated with the specified key
/// </returns>
Task<T> GetAsync<T>(Func<Task<T>> acquire, CacheKey cacheKey, params object[] cacheKeyParameters);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public ReaderWriteLockDisposable(ReaderWriterLockSlim rwLock, ReaderWriteLockTyp
/// <summary>
/// Protected implementation of Dispose pattern.
/// </summary>
/// <param name="disposing">Specifies whether to disposing resources</param>
/// <param name="disposing">Specifies whether to dispose resources</param>
protected virtual void Dispose(bool disposing)
{
if (_disposed)
Expand Down Expand Up @@ -88,4 +88,4 @@ public void Dispose()
}

#endregion
}
}
4 changes: 2 additions & 2 deletions src/Libraries/Nop.Core/Configuration/AzureBlobConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public partial class AzureBlobConfig : IConfig
public bool StoreDataProtectionKeys { get; protected set; } = false;

/// <summary>
/// Gets or sets the Azure container name for storing Data Prtection Keys (this container should be separate from the container used for media and should be Private)
/// Gets or sets the Azure container name for storing Data Protection Keys (this container should be separate from the container used for media and should be Private)
/// </summary>
public string DataProtectionKeysContainerName { get; protected set; } = string.Empty;

Expand All @@ -53,4 +53,4 @@ public partial class AzureBlobConfig : IConfig
/// </summary>
[JsonIgnore]
public bool DataProtectionKeysEncryptWithVault => !string.IsNullOrEmpty(DataProtectionKeysVaultId);
}
}
4 changes: 2 additions & 2 deletions src/Libraries/Nop.Data/DataProviders/MsSqlDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void CreateDatabase(string collation, int triesToConnect = 10)
//gets database name
var databaseName = builder.InitialCatalog;

//now create connection string to 'master' dabatase. It always exists.
//now create connection string to 'master' database. It always exists.
builder.InitialCatalog = "master";

using (var connection = GetInternalDbConnection(builder.ConnectionString))
Expand Down Expand Up @@ -359,4 +359,4 @@ public override void UpdateEntities<TEntity>(IEnumerable<TEntity> entities)
public virtual bool BackupSupported => true;

#endregion
}
}