#25: remove need to inherit INotifyGBaseEntryChanged

pull/27/head
Simon G 5 years ago
parent 0c334463ee
commit 62f18c0038
  1. 3
      GBase/Factories/GBaseTableFactory.cs

@ -36,9 +36,6 @@ namespace GBase.Factories
/// <returns>A newly created instance of the implementation for <see cref="IGBaseTable"/></returns>
public IGBaseTable Create(Type type)
{
if (!typeof(INotifyGBaseEntryChanged).IsAssignableFrom(type))
throw new InvalidTableTypeException(type);
Type gBaseTableType = typeof(GBaseTable<>).MakeGenericType(type);
return (IGBaseTable) Activator.CreateInstance(gBaseTableType, _fileHandlerFactory, _gBaseColumnFactory);
}

Loading…
Cancel
Save