Forum Discussion

KurtMayer's avatar
KurtMayer
Contributor
16 hours ago

Is there an example of using System.Reflection namespace with OneStream APIs

I'm driving myself a little crazy at the moment.  Sometime in the last few days, I stumbled across a Community Post (I think) about how to use System.Reflection to programmatically list OneStream API object methods, overloads, parameters, etc. 

At the time I saw it, I thought "Oh, that's cool!" and remembered that if I needed to find it again, I just needed to search for "Reflection" in community posts.  Well, for the life of me, I can't find the post again.

Does anyone know of a post that describes how to use System.Reflection's methods, like GetMethods on OneStream API objects?  I know I'm being lazy and could work out the code myself, but what I read had already worked out the BindingFlags and other parameters on the calls that were specific to OneStream.

No RepliesBe the first to reply