C++ CLI Task IEnumerable shows Error not a valid Generic argument
Arathi Jinde
6
Reputation points
Hi ,
MyRepository<MyModel, String>^ pr = new PatientRepository<PatientModel, String>();
Task<IEnumerable<MyModel>^> FindAsync(String^ key)
{
return pr->FindAsync(key);
}
here Task IEnemurable<MyModel> shows not a valid generic argument
how to resolve this
Thanks,
Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | .NET | .NET CLI
Developer technologies | .NET | .NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
Sign in to answer