public static LocalMod FromLocalModInfo(LocalModInfo info, ISupportModding game) { if (info == null) { throw new ArgumentNullException(nameof(info)); } if (game == null) { throw new ArgumentNullException(nameof(game)); } return(CreateLocalMod(info.Name, info.Path, game)); }
public static LocalMod FromLocalModInfo(LocalModInfo info, ISupportModding game) { Contract.Requires<ArgumentNullException>(info != null); Contract.Requires<ArgumentNullException>(game != null); return CreateLocalMod(info.Name, info.Path, game); }