Default DependencyMap to an empty map when not supplied

This commit is contained in:
RogueException
2016-10-20 03:53:46 -03:00
parent 2cbfaa5498
commit b8102a6767
3 changed files with 10 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ namespace Discord.Commands
{
private Dictionary<Type, object> map;
public static DependencyMap Empty => new DependencyMap();
public DependencyMap()
{
map = new Dictionary<Type, object>();