- remove todo and line that doesn't work

master
Simon G 5 years ago
parent 6040e31891
commit 9c160ef871
  1. 2
      GBase/GBase.cs

@ -103,8 +103,6 @@ namespace GBase
return Tables.OfType<IGBaseTable<T>>().First();
throw new MissingTableException<T>();
// //TODO: This probably doesn't work, because even though t.Type : T, IGBaseTable<t.Type> !: IGBaseTable<T>
// return (IGBaseTable<T>) Convert.ChangeType(Tables.FirstOrDefault(t => typeof(T).IsAssignableFrom(t.Type)), typeof(IGBaseTable<T>)); //TestMe
}
/// <summary>

Loading…
Cancel
Save