public static void LoadData(IProblemInstanceProvider provider, IDataDescriptor descriptor, IProblemInstanceConsumer consumer) { ((dynamic)consumer).Load(((dynamic)provider).LoadData(descriptor)); }
protected bool CheckForIProblemInstanceExporter(IProblemInstanceConsumer content) { return(Content.GetType().GetInterfaces() .Any(x => x == typeof(IProblemInstanceExporter))); }
protected bool CheckForIProblemInstanceExporter(IProblemInstanceConsumer content) { return Content.GetType().GetInterfaces() .Any(x => x == typeof(IProblemInstanceExporter)); }