public IMod?SearchMod(IModReference modReference, ModSearchOptions modSearchOptions, bool add)
        {
            IMod?mod = null;

            try
            {
                if (modSearchOptions.HasFlag(ModSearchOptions.Registered))
                {
                    mod = ModsInternal.FirstOrDefault(x => x.Equals(modReference));
                    if (mod != null)
                    {
                        return(mod);
                    }
                }
                if (modSearchOptions.HasFlag(ModSearchOptions.FileSystem))
                {
                    throw new NotImplementedException();
                }
                return(mod);
            }
            finally
            {
                if (mod != null && add)
                {
                    AddMod(mod);
                }
            }
        }
 public IMod?SearchMod(IModReference modReference, ModSearchOptions modSearchOptions, bool add)
 {
     throw new NotImplementedException();
 }