You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, our System heavily depends on a class where some Extension-properties are stored in a Collection. I would like to expose those Members automaticly to Powershell. Typeadapters for Update-Typedata seems like exactly what I want, but the adapter is just ignored for all objects that derive of the class(almost any usefull object derives of it 😅). Extensions from other Typedata like Skriptproperties also work for derived types so why doesn't Typeadapter? I didnt find much documentation on this so I would like to know if there is a way to make them work for derived classes as well or if you know any other Way to get this done?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, our System heavily depends on a class where some Extension-properties are stored in a Collection. I would like to expose those Members automaticly to Powershell. Typeadapters for Update-Typedata seems like exactly what I want, but the adapter is just ignored for all objects that derive of the class(almost any usefull object derives of it 😅). Extensions from other Typedata like Skriptproperties also work for derived types so why doesn't Typeadapter? I didnt find much documentation on this so I would like to know if there is a way to make them work for derived classes as well or if you know any other Way to get this done?
Beta Was this translation helpful? Give feedback.
All reactions