Skip to content

Commit

Permalink
#539 Make AssemblyCache.Install extensible
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Sampson committed Apr 28, 2019
1 parent c9ce93b commit 750d0e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Caliburn.Micro.Platform/AssemblySource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static class AssemblySourceCache
/// <summary>
/// Installs the caching subsystem.
/// </summary>
public static void Install()
public static System.Action Install = () =>
{
if (isInstalled)
{
Expand Down Expand Up @@ -94,6 +94,6 @@ public static void Install()
var type = names.Select(n => TypeNameCache.GetValueOrDefault(n)).FirstOrDefault(t => t != null);
return type;
};
}
};
}
}

0 comments on commit 750d0e3

Please sign in to comment.