Add project files.
This commit is contained in:
25
Core.Blueprint.Mongo/Context/MongoDbSettings.cs
Normal file
25
Core.Blueprint.Mongo/Context/MongoDbSettings.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace Core.Blueprint.Mongo
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the MongoDB configuration settings, including the connection string,
|
||||
/// database name, and audience, used for connecting and authenticating to a MongoDB instance.
|
||||
/// Implements the <see cref="IMongoDbSettings"/> interface to provide a strongly typed configuration.
|
||||
/// </summary>
|
||||
public class MongoDbSettings : IMongoDbSettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the connection string used to connect to the MongoDB instance.
|
||||
/// </summary>
|
||||
public string ConnectionString { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the MongoDB database to connect to.
|
||||
/// </summary>
|
||||
public string Databasename { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the audience (resource identifier) used for MongoDB authentication.
|
||||
/// </summary>
|
||||
public string Audience { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user