[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: why does IServiceManager:getService not return IService instead of P.L.Object

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
A generic method (as in .NET) would look like ServiceManager:getService () . and not Progress.Lang.Object ServiceManager:getService (T) . There are good use cases for generic classes (like described by Marian with the ServiceManager and generic methods as described here. ABL does currently support using .NET Generic types - but not using .NET generic methods in non generic types (unless you go for Reflection: github.com/.../ReflectionHelperOSS )

Continue reading...
 
Status
Not open for further replies.
Back
Top