-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: 1. Fix InstantiateTypes iteration count bug iteration step should be -1 and should compare with started typeMap count https://github.com/decembrist-revolt/godot-decembrist-plugin/projects/1#card-60583602 2. Fix unsatisfied dependencies exception https://github.com/decembrist-revolt/godot-decembrist-plugin/projects/1#card-60583343 3. Fix prototype dependencies as dependencies https://github.com/decembrist-revolt/godot-decembrist-plugin/projects/1#card-59902409
- Loading branch information
decembrist-revolt
authored and
decembrist-revolt
committed
May 6, 2021
1 parent
f48dfd2
commit fdde581
Showing
7 changed files
with
78 additions
and
29 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
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,21 @@ | ||
using Decembrist.Utils; | ||
|
||
namespace Decembrist.Example.Service | ||
{ | ||
public class PrototypeService2: IService | ||
{ | ||
private readonly SingletonService2 _service; | ||
private readonly string _randomNumber; | ||
|
||
public PrototypeService2(SingletonService2 service) | ||
{ | ||
_service = service; | ||
_randomNumber = Random.RandomInt(1, 100).ToString(); | ||
} | ||
|
||
public string GetString() | ||
{ | ||
return $"{_randomNumber} {_service.GetString()}"; | ||
} | ||
} | ||
} |
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,14 @@ | ||
namespace Decembrist.Example.Service | ||
{ | ||
public class SingletonService3: IService | ||
{ | ||
private readonly SingletonService2 _service2; | ||
|
||
public SingletonService3(SingletonService2 service2) | ||
{ | ||
_service2 = service2; | ||
} | ||
|
||
public string GetString() => _service2.GetString(); | ||
} | ||
} |
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