Skip to content

Commit

Permalink
Bug Fixing the visibility scope in method It(string key) into Diagram…
Browse files Browse the repository at this point in the history
…BuildRunner.cs
  • Loading branch information
yanjustino committed Dec 26, 2022
1 parent 8f607d4 commit bef97d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/C4Sharp/Diagrams/DiagramBuildRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected DiagramBuildRunner()
public Structure It<T>(int instance) => It(StructureIdentity.New<T>(instance.ToString()).Value);
public Structure It<T>(string instance) => It(StructureIdentity.New<T>(instance).Value);

private Structure It(string key)
public Structure It(string key)
=> _structures.Items[key]
?? throw new KeyNotFoundException($"Structure {key} not found");

Expand Down

0 comments on commit bef97d1

Please sign in to comment.