Skip to content

Commit

Permalink
Fixes #295
Browse files Browse the repository at this point in the history
  • Loading branch information
tznind committed Sep 28, 2022
1 parent f1a39f8 commit 82d9f32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void SetArgument(IArgument[] args, string property, object value)

var arg = args.Single(a => a.Name.Equals(property));

var mef = ((CatalogueRepository) arg.Repository).MEF;
var mef = ((ICatalogueRepository) arg.Repository).MEF;
if (mef.GetType(value.GetType().FullName) == null)
throw new ArgumentException($"No type found for { value.GetType().FullName }");

Expand Down

0 comments on commit 82d9f32

Please sign in to comment.