-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move MongoDB specific settings to MongoDB project
Created MongoMiniProfiler.Settings for settings specific to the MongDB project, fixed spelling in Obsolete attributes.
- Loading branch information
Showing
5 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
StackExchange.Profiling.MongoDB/MongoMiniProfiler.Settings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.ComponentModel; | ||
|
||
namespace StackExchange.Profiling.MongoDB | ||
{ | ||
public partial class MongoMiniProfiler | ||
{ | ||
/// <summary> | ||
/// Various configuration properties. | ||
/// </summary> | ||
public static class Settings | ||
{ | ||
static Settings() | ||
{ | ||
MaxServerCount = 100; | ||
} | ||
|
||
/// <summary> | ||
/// Maximum number of ProfiledeMongoServer instance to create, defaults to 100. | ||
/// </summary> | ||
[DefaultValue(100)] | ||
public static int MaxServerCount { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters