This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #287 - Infrastructure is now in place
- Loading branch information
1 parent
40279bc
commit 4cf8977
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Glimpse.Core.Setting | ||
{ | ||
/// <summary> | ||
/// Designed solely for plugin authors to add Initialize options | ||
/// to via extension methods. | ||
/// </summary> | ||
public class Initializer | ||
{ | ||
internal Initializer() | ||
{ | ||
} | ||
} | ||
} |
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,18 @@ | ||
using Glimpse.Core.Setting; | ||
|
||
namespace Glimpse | ||
{ | ||
/// <summary> | ||
/// Hook that is used to hang any system settings | ||
/// </summary> | ||
public static class Settings | ||
{ | ||
/// <summary> | ||
/// Hook that is used to hang initialization code from. No method | ||
/// here is required ot be called. You should only need to use this | ||
/// code if Glimpse doesn't initialize soon enough in the application | ||
/// life cycle for your purposes. | ||
/// </summary> | ||
public static Initializer Initialize = new Initializer(); | ||
} | ||
} |
4cf8977
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this whole commit could be done with just one class.
It seems like this class should be in Glimpse.Core.Extensibility as well - if it is meant as an extensibility point.