diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-15 01:09:46 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-15 01:09:46 +0200 |
| commit | 4cabb5aabc490156b50cd02592926539d48a7af8 (patch) | |
| tree | 0458fd87417eb06a89c1b15e65d1e0368518fd95 /Software/Visual_Studio/Tango.Core/DI | |
| parent | 51151796efb23162ca0b3d6701d90dfb6d3baeb9 (diff) | |
| download | Tango-4cabb5aabc490156b50cd02592926539d48a7af8.tar.gz Tango-4cabb5aabc490156b50cd02592926539d48a7af8.zip | |
Implmented InternalModule navigation for PPC.
Fixed issue with TangoIOC.GetAllInstancedByBase.
Implemented PowerOff Screen.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/DI')
| -rw-r--r-- | Software/Visual_Studio/Tango.Core/DI/TangoIOC.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Core/DI/TangoIOC.cs b/Software/Visual_Studio/Tango.Core/DI/TangoIOC.cs index de42ac6e7..0ab4f1969 100644 --- a/Software/Visual_Studio/Tango.Core/DI/TangoIOC.cs +++ b/Software/Visual_Studio/Tango.Core/DI/TangoIOC.cs @@ -347,7 +347,7 @@ namespace Tango.Core.DI /// <returns></returns> public virtual IEnumerable<object> GetAllInstancesByBase(Type baseType) { - return _registeredTypes.Where(x => baseType.IsAssignableFrom(x.Key)).Select(x => x.Value.Instance != null ? x.Value.Instance : CreateInstance(x.Value.ImplementationType)); + return _registeredTypes.Where(x => baseType.IsAssignableFrom(x.Key)).Select(x => x.Value.Instance != null ? x.Value.Instance : GetInstance(x.Value.ImplementationType)); } /// <summary> |
