Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
saruiwa committed Nov 18, 2024
1 parent dda70a5 commit f7e0668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public TValue Get(Type type)
}

ERROR:
throw new KeyNotFoundException("Type was not dound, Type: " + type.FullName);
throw new KeyNotFoundException("Type was not found, Type: " + type.FullName);
}

public bool TryGet(Type type, out TValue value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static InjectTypeInfo Analyze(Type type)
var analyzedType = type;
var typeInfo = type.GetTypeInfo();

// Constructor, single [Inject] constructor -> single most parameters constuctor
// Constructor, single [Inject] constructor -> single most parameters constructor
var annotatedConstructorCount = 0;
var maxParameters = -1;
foreach (var constructorInfo in typeInfo.GetConstructors(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic))
Expand Down

0 comments on commit f7e0668

Please sign in to comment.