Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Handling multiple types with a single DataProvider

$
0
0

Hi, 

I'm writing a DataProvider and would like it handle multiple types. The documentation says as follows:

For example, if you have a custom object of type WhatsIt, you annotate the class like the following example:

 

I would like to handle multiple types with the same data adapter, so as well as "samples:WhatsIt" objects, I'd also like to handle say "samples:Whatelse".
 
What is the syntax for the @type annotation so that multiple object types can be handled please?

 

Many thanks

 

Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>